royNiladri / js-big-decimal

Work with large numbers on the client side with high precision.
https://www.npmjs.com/package/js-big-decimal
MIT License
156 stars 28 forks source link

method round buggy #84

Closed Adamko23 closed 2 years ago

Adamko23 commented 2 years ago

method "round" returns only positive results, for example: bigDecimal.round(-0.1234, 2); returns 0.12, but not -0.12

royNiladri commented 2 years ago

Fixed in v1.3.12