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

Thousands separators for number fields #13

Open
shawnpringle opened this issue Feb 28, 2021 · 0 comments
Open

Thousands separators for number fields #13

shawnpringle opened this issue Feb 28, 2021 · 0 comments

Comments

@shawnpringle
Copy link

It might be possible to efficiently put thousands separators in entered numbers to improve readability and reduce errors.

Example the user types in '0.000' and nothing happens but when he adds say a '5', it becomes '0.000,5'. I implemented this for electrum and the maintainer didn't accept it. See my fork here: https://github.com/shawnpringle/electrum. You can find teh dependency which does this here: https://github.com/shawnpringle/separatorsafterdecimal . MIT LIcense.

The best part is the test cases which can help you fix those corner cases you may not think about.

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