You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(numeral('0.000000001').format('0.000000000')); // NaN
console.log(numeral('0.000000011').format('0.000000000')); // NaN
console.log(numeral('0.000000111').format('0.000000000')); // NaN
console.log(numeral('0.000001111').format('0.000000000')); // 0.000001111
console.log(numeral('0.00000001').format('0.00000000')); // NaN
console.log(numeral('0.00000011').format('0.00000000')); // NaN
console.log(numeral('0.00000111').format('0.00000000')); // 0.00000111
console.log(numeral('0.0000001').format('0.0000000')); // NaN
console.log(numeral('0.0000011').format('0.0000000')); // 0.0000011
console.log(numeral('0.0000111').format('0.0000000')); // 0.0000111
It seems any value less than 1e-6 is considered NaN, but higher values with more precision work?
The text was updated successfully, but these errors were encountered:
It seems any value less than 1e-6 is considered NaN, but higher values with more precision work?
The text was updated successfully, but these errors were encountered: