Skip to content

Decimal entries conform to locale setting, but seemingly get parsed with dot decimal, no matter.  #78

@sinni800

Description

@sinni800

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions