currency_kit 0.0.1
currency_kit: ^0.0.1 copied to clipboard
Money, currency codes and exchange rates as value types — with display-only conversion, so switching the currency a user reads never changes the amount you store.
0.0.1 #
- Initial release:
CurrencyCode,Money,ExchangeRate,MoneyFormatter,MoneyParserandCurrencyRegistry, built around display-only conversion. - Rounding defaults to half-up on the decimal a user typed
(
RoundingMode.halfUpDecimal), withhalfUpBinaryavailable for parity with systems that round the stored double.