title: Preventing double.Parse from removing trailing zeros after decimal place?
body: <p>When using double.Parse, it seems to like to string away any trailing (insignificant) zeros from the string that I'm converting. I would like double.Parse to keep to places after the decimal. For example, here is some code:</p>
  
  <pre><code>tobereturned.MouseSensitivty = double.Parse(String.Format("{0:#.##}", tempstring[1]));
  Debug.WriteLine("Converted " + String.Format("{0:#.##}", tempstring[1]) + " to " + tobereturned.MouseSensitivty);
  </code></pre>
  
  <p>The Debugger then writes</p>
  
  <blockquote>
    <p>Converted 4.00 to 4</p>
  </blockquote>
  
  <p>So it seems like double.Parse <em>is</em> doing something fishy here.
  P.S. MouseSensitivity is also of the type double, so I can't do any string operations on it.</p>