This is driving me crazy. I have the following string in a ASP.NET 2.0 WebForm Page
string s = \"0.009\";
Simple enough. Now, if my culture
You're mistaking parsing and formatting. You get 9 instead of .009 the first time because you take a string that is formated in a .-based culture and parse it using a ,-based culture. You need to parse it using whatever culture it was created with and then format it using whatever culture you want for display.