visual studio thinks it resides in Europe, and we're actually in the US
-
So I'm coding in .NET (C#), under Visual Studio, and getting some numbers in string format and converting them to double.Parse to doubles. However, it only works if the number strings first have the . replaced with a , How can I make the double.parse command give me decimals delimited with dots , not commas?
-
So I'm coding in .NET (C#), under Visual Studio, and getting some numbers in string format and converting them to double.Parse to doubles. However, it only works if the number strings first have the . replaced with a , How can I make the double.parse command give me decimals delimited with dots , not commas?
Have you checked setting for the local computer? In Vista the formatting is set in the Regional and Language options dialog from the control panel
only two letters away from being an asset
-
Have you checked setting for the local computer? In Vista the formatting is set in the Regional and Language options dialog from the control panel
only two letters away from being an asset
Thanks, good idea, however, I just checked and the decimal separator is already defined as the dot.
-
So I'm coding in .NET (C#), under Visual Studio, and getting some numbers in string format and converting them to double.Parse to doubles. However, it only works if the number strings first have the . replaced with a , How can I make the double.parse command give me decimals delimited with dots , not commas?