Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just fyi: decimal separator issues with LC_NUMERIC=de_DE.UTF-8 #29

Open
michael-hoss opened this issue Jan 30, 2025 · 0 comments
Open

Comments

@michael-hoss
Copy link

(Solved for me by setting LC_NUMERIC="en_US.UTF-8", but potentially relevant here so letting you know)

I used the GUI in Ubuntu 22.04 with LC_NUMERIC=de_DE.UTF-8.

When I inserted e.g. 50.123456 with a ., it automatically made 5,0123456E7 out of it.

When I then stored the scenario with comma-separated floating point numbers and tried re-opening it, I got:

Image.

After setting export LC_NUMERIC="en_US.UTF-8" in my bashrc, I could use . everywhere and everything floating-point related worked ✅

So it looks to me like some places in the GUI adjust to the LC_NUMERIC setting, while others may be hard-coded to expect a dot, where the combination of both could cause issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant