title: C# Convert.ToDouble() loses decimal points when converting string to double
body: <p>Let's say we have the following simple code</p>
  
  <pre><code>        string number = "93389.429999999993";
          double numberAsDouble = Convert.ToDouble(number);
          Console.WriteLine(numberAsDouble);
  </code></pre>
  
  <p>after that conversion <code>numberAsDouble</code> variable has the value 93389.43. What can i do to make this variable keep the full number as is without rounding it? I have found that <code>Convert.ToDecimal</code> does not behave the same way but i need to have the value as double.</p>
  
  <p>-------------------small update---------------------</p>
  
  <p>putting a breakpoint in line 2 of the above code shows that the numberAsDouble variable has the rounded value 93389.43 before displayed in the console.</p>