Best way to parse float?

I agree with leppie’s reply; to put that in terms of code:

string s = "123,456.789";
float f = float.Parse(s, CultureInfo.InvariantCulture);

Leave a Comment