mdmoney 1.1.2 mdmoney: ^1.1.2 copied to clipboard
march.dev money library. Provides a new way to work with a money. From highly flexible creation to rich data manipulation and stringification options.
Changelog #
1.1.2 #
- Fixed several getters:
isZero
isGreaterThanZero
isGreaterThanOrEqualZero
isLessThanZero
isLessThanOrEqualZero
1.1.1 #
- Updated tests.
1.1.0 #
- Extended
Money
fromAmount
(mdamount
package). - Added new construction options:
Money.fromBigInt
Money.fromInt
Money.fromAmount
Money.oneIntOf
Money.oneInt
- Added
Money.toAmount
conversion method. - Updated tests.
1.0.1 #
- Changed
FiatCurrency.$default
from field to getter, to avoid unwanted behaviour.
1.0.0 #
- Added fully functional and totally tested
Money
.