-
Notifications
You must be signed in to change notification settings - Fork 925
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
NaN Formatting #682
Comments
It seems that it cannot format exponential numbers (in JS by default from 0.0000001 = e-7). |
Same bug |
I downgraded to 2.0.4 |
AlirezaT99
added a commit
to AlirezaT99/Numeral-js
that referenced
this issue
Dec 21, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BUG:
Please follow the steps;
var n=numeral(103.15 - 203.48 + 100.33);
// returns a {_input: 1.4210854715202004e-14, _value: 1.4210854715202004e-14}
n.format("0,0.00");
// returns NaN
The text was updated successfully, but these errors were encountered: