title: Issues of saving a matrix to a csv file
body: <p>I am trying to save an integer matrix to the csv file. My code is listed as follows. </p>
  
  <pre><code>try
      {
        FileWriter writer = new FileWriter("test.csv");          
           for(int i = 0; i &lt; row; i++)
           {
              for (int j=0; j&lt;(column-1); j++)
               {
                   writer.append(Matrix[i][j]);
                   writer.append(',');
               }
                 writer.append(Matrix[i][j]);
                 writer.append('\n');
                 writer.flush();
           }
           writer.close();
        }        
      catch(Exception e)
      {
        e.printStackTrace();
      }
  </code></pre>
  
  <p>However, the  Eclipse gives the following error message:</p>
  
  <blockquote>
    <p>method append(CharSequence) in the type Writer is not 
     applicable for the arguments (int)</p>
  </blockquote>
  
  <p>How to solve this issue? Thanks.</p>