adamwdraper / Numeral-js

A javascript library for formatting and manipulating numbers.
http://numeraljs.com
MIT License
9.66k stars 927 forks source link

Big numbers are miscalculated #791

Open Ali-ovo opened 4 months ago

Ali-ovo commented 4 months ago

numeral("785765426995533.2610374978802545").format("0.0000")

The right thing to do is 785765426995533.261

image

photonite commented 3 months ago

+1