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
Please look at the result of Decimal('10').dividedBy('3'). Mathematically, that number multiplied by 3 is 9.9999999999999999999 not 10. This library does not store values as fractions.
I tried the fllow code on https://npm.runkit.com/decimal.js
Expect: 10
Actual: "9.9999999999999999999"
The text was updated successfully, but these errors were encountered: