Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Broken float handling #15

Open
benediktwerner opened this issue Nov 11, 2022 · 0 comments · May be fixed by #16
Open

Broken float handling #15

benediktwerner opened this issue Nov 11, 2022 · 0 comments · May be fixed by #16

Comments

@benediktwerner
Copy link

When opening the manager, the period is removed from all float settings, so e.g. 0.7 just becomes 7. Saving then ofc gives wildly incorrect values. I also can't type a period into any float fields.

This likely has something to do with my system language being German which uses a , instead of a . for decimals. I've had the same problem in the past with another config manager. Certain standard C# float formatting functions take this into account. Presumably, some different function then removes everything that's not a number or period which means the result then doesn't have either. And I guess the same mechanism also removes them when trying I try to type either of them.

It does insert and display a period . when resetting the value to the default though.

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

Successfully merging a pull request may close this issue.

1 participant