so parsing would go like:
double dbl = double.Parse("1234.56″,
System.Globalization.CultureInfo.InvariantCulture);
And when you need to get your string from the double, you can do the
same thing in “reverse”:
string s =
dbl.ToString(System.Globalization.CultureInfo.InvariantCulture);
No comments:
Post a Comment