I guess this is a very easy question, but I wasn't able to find a question with Google or the MSDN examples.
I want to parse a string like "3.5" to a double. However,
double.Parse("3.5")
yields 35 and
double.Parse("3.5", System.Globalization.NumberStyles.AllowDecimalPoint)
(something I tried in my desperation ;) ) which compiles just fine blows up with a FormatException.
Now I'm in Germany, where a comma is used as a separator (so 3,5). It might have to do something with this, but I'm not sure.
How can I do that?