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

[FEATURE] Dynamic precision #36

Open
f-aubert opened this issue Feb 28, 2019 · 0 comments
Open

[FEATURE] Dynamic precision #36

f-aubert opened this issue Feb 28, 2019 · 0 comments

Comments

@f-aubert
Copy link

Thanks for this great and useful little library. It is only one feat. short of suiting my needs. In most case my user deals with integer (precision 0), but in some case it might want to type a dot '.' to enter a fractional amount. In this case I would rather having the parser interpret the dot '.' and not ignore it making the amount larger by adding two digits

Given a precision of 0,
typing 1234 should give $1'234
typing 1234.56 should give $1'234.56 and not $123'456

@nbfontana nbfontana changed the title Feat. Dynamic Precision [FEATURE] Dynamic precision May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants