numeral format for small numbers returns NaN
See original GitHub issueFor example numeral(0.0000000048).format('0') // NaN
Issue Analytics
- State:
- Created 6 years ago
- Reactions:21
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Numeral.js
A javascript library for formatting and manipulating numbers. ... Numeral takes numbers or strings that it trys to convert into a number.
Read more >Sum numbers returns NaN - javascript - Stack Overflow
I'm trying to do a sum of numbers inside div's, so, I did:.
Read more >NaN - Wikipedia
In computing, NaN standing for Not a Number, is a member of a numeric data type that can be interpreted as a value...
Read more >Math.floor() - JavaScript - MDN Web Docs
A number. Return value. The largest integer smaller than or equal to x . It's the same value as - ...
Read more >JavaScript parseFloat() Function - GeeksforGeeks
If the string does not contain a numeral value or If the first character of the string is not a Number then it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Same issue, appears to be any number with 6 or more leading 0s.
Incidentally, that appears to be when the chrome console starts displaying numbers in exponential form.
since this repo is not updated anymore, and still have this bug, and if you still wish to use the latest version, you can do this work around: