What's going on here?
Convert.ToDouble("1.3")
I have a line with a value of "1.3". When I convert to double, it returns 13. I want to return 1.3.
This is probably due to your current culture, it uses a different decimal separator character than .. You can do this instead:
.
double.Parse("1.3", CultureInfo.InvariantCulture);
Source: https://habr.com/ru/post/1538311/More articles:List of countries and their states in wordpress - phpUsing DownloadManager to download to a new folder on the phone - javaОбновлено до MS Identity Core 2.0 и EF6.1 и логин завершается с ошибкой: недопустимое имя столбца 'Email' - asp.netHow to write this in the most efficient way - pythonVectorization / optimization of a loop with unequal data access for wide registers (in particular, Xeon Phi) - c ++How can I document a function with a variable number of arguments in YARD? - ruby | fooobar.comAdd multiple tags to ggplot2 boxplot - rдоступ к неограниченной памяти - assemblyC # convert string to double in locale - c #Half-step transfer of the MATLAB axis - matlabAll Articles