-
Notifications
You must be signed in to change notification settings - Fork 5
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
No trailing zero when there is no fraction? #2
Comments
You’re absolutely right! It is fixed in 2.4.1 https://github.com/bpierre/dnum/releases/tag/v2.4.1 Thanks for reporting it 🙏 |
Seems there is bug, when decimals is zero it doesn't work
It only works if decimals > 0
|
Ah yes, it’s a bit of a weird case because if the decimals are lower than |
Pulished as 2.5.0, thank you 🙏 https://github.com/bpierre/dnum/releases/tag/v2.5.0 |
I was expecting number
toFixed
kinda behavior.Shouldn't it also show trailing zero for consistency?
or is it intended?
The text was updated successfully, but these errors were encountered: