title: Printing out zeros after decimals into excel
body: <p>I am trying to print out a <code>double</code> to excel.  In my GUI the number prints out correctly.</p>
  
  <p>But when I write the number to an excel file the number comes out with out the zeros after the decimal place.  For examples the number <code>1.10</code> prints out correctly in my GUI, but in excel in prints out <code>1.1</code>.  </p>
  
  <pre><code>double foo = 1.10;
  writeline(foo.ToString("F2"));
  </code></pre>
  
  <p>I have tried <code>String.Format("{0:0.00}", foo.ToString("F2"));</code> without resolving this issue.  I am pretty sure the problem is when the number gets into excel, excel truncates all zeros after the decimal place.  Is there a way to send excel a message to print out two places after the decimal?</p>
  
  <p>I am working on someone elses code that opens and closes the excel file.   They are using <code>File.Create</code> and <code>StreamWriter</code> to create and open the excel file</p>