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

Broken float handling #15

@benediktwerner

Description

@benediktwerner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions