I want to parse a string like \"3.5\" to a double. However,
\"3.5\"
double.Parse(\"3.5\")
yields 35 and
double.Pars
Double.Parse("3,5".Replace(',', '.'), CultureInfo.InvariantCulture)
Replace the comma with a point before parsing. Useful in countries with a comma as decimal separator. Think about limiting user input (if necessary) to one comma or point.