C# - wrong string to single conversion
<p>I am writing a program to get data from microcontroller to PC. The data is in float format. I tried to convert the string into float using <code>Convert.ToSingle(string)</code>, but the conversion result is wrong:</p>

<ol>
<li>"0.11" is converted to 11, sometimes 12.</li>
<li>"0.10" is converted to 10. etc</li>
</ol>

<p>As you can see, it is losing the leading 0. , which is unexpected. How could this happen?</p>