Key2Joy
Key2Joy copied to clipboard
Decimal entries conform to locale setting, but seemingly get parsed with dot decimal, no matter.
So these contain commas, because my locale says commas are the decimal separator. If I try to put dot decimals in there, it automatically resets them to comma decimals before I can click save.
If I put comma decimals in there, they don't apply after hitting safe (only the whole part of the number applies, the decimals get chopped off)
If I set my OS to an english locale with dot decimals, it works fine.
Please parse the float coming out of there with the locale, .NET has
float.tryParse(f, Thread.CurrentThread.CurrentUICulture);
I assume that's the problem, I didn't check the code, but I've ran into the same problem as well, previously.
Second way would be to force the culture of the UI to also be invariant, then it doesn't matter.