Releases: ericelliott/moneysafe
Releases · ericelliott/moneysafe
v2.0.0
Breaking changes:
- Removed
.centand.$getters. - Removed auto-rounding behaviors. Now MoneySafe will only round if you use
.toNumber(), or.toFixed()..toNumber()will round to 16 digit precision (IEEE 754 Float) - Values are no longer represented in cents.
.of()and.valueOf()no longer operate in cents.
Improvements:
- MoneySafe now works for cryptocurrencies with arbitrary precision.
- MoneySafe now uses BigNumbers internally and is no longer bound by the limitations of the JavaScript Number type.