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

Avoid destroying the current locale's decimal point #111

Conversation

set-soft
Copy link
Contributor

The units parser currently prunes any comma.
But for many locales this is the decimal point separator.
This patch converts the current locale decimal point into a point.

The units parser currently prunes any comma.
But for many locales this is the decimal point separator.
This patch converts the current locale decimal point into a point.
@SchrodingersGat
Copy link
Owner

Thanks for this fix @set-soft - didn't consider locale issues

@SchrodingersGat SchrodingersGat merged commit 235694a into SchrodingersGat:master Jul 17, 2020
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

Successfully merging this pull request may close these issues.

2 participants