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

Small negative numbers get the leading zero incorrectly cut off #392

Closed
cnrudd opened this issue Oct 26, 2018 · 2 comments
Closed

Small negative numbers get the leading zero incorrectly cut off #392

cnrudd opened this issue Oct 26, 2018 · 2 comments

Comments

@cnrudd
Copy link
Contributor

@cnrudd cnrudd commented Oct 26, 2018

Small negative numbers get the leading zero incorrectly cut off when rounded and thousandSeparated.

See demo of bug:
https://numbrojs.com/try-me.html?lang=en-US&value=-0.00490&format=%7B%22mantissa%22%3A2%2C%22trimMantissa%22%3Afalse%2C%22thousandSeparated%22%3Atrue%7D

@BenjaminVanRyseghem

This comment has been minimized.

Copy link
Owner

@BenjaminVanRyseghem BenjaminVanRyseghem commented Mar 18, 2020

in numbro 2.2.0

@cnrudd

This comment has been minimized.

Copy link
Contributor Author

@cnrudd cnrudd commented Mar 18, 2020

Merci!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.