I want to parse a string like \"3.5\" to a double. However,
\"3.5\"
double.Parse(\"3.5\")
yields 35 and
double.Pars
System.Globalization.CultureInfo ci = System.Globalization.CultureInfo.CurrentCulture; string _pos = dblstr.Replace(".", ci.NumberFormat.NumberDecimalSeparator).Replace(",", ci.NumberFormat.NumberDecimalSeparator); double _dbl = double.Parse(_pos);