|
|
back to boardif you use C# Posted by renat 26 Jan 2009 20:04 apparently default culture on the server is such, that double as a string looks like 14,14 not 14.14. So Convert.ToDouble(input) will throw exception. To fix this use CultureInfo: CultureInfo ci = new CultureInfo("en-us"); low = Convert.ToDouble(input[0], ci); |
|
|