This seems to be internationalization problem. I got this work by rounding the numbers.
But maybe changing the current culture could be better solution (haven't tested)
Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
But maybe changing the current culture could be better solution (haven't tested)
Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");