MikeMcl / decimal.js

An arbitrary-precision Decimal type for JavaScript
http://mikemcl.github.io/decimal.js
MIT License
6.36k stars 480 forks source link

0.9987 toFixed(2) is not 1.00, is 1 #154

Closed 249118256 closed 4 years ago

249118256 commented 4 years ago

0.9987 toFixed(2) is not 1.00, is 1 why

249118256 commented 4 years ago

i want 1.00