Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#791·Numeral-js

Big numbers are miscalculated

Author: Ali-ovoCreated Jun 6, 2024Updated Jul 9, 2024

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

The right thing to do is 785765426995533.261

image

Source: adamwdraper/Numeral-js

View original on GitHubView discussion on GitHub