Skip to content

0.3.1

Compare
Choose a tag to compare
@kalaspuff kalaspuff released this 27 Nov 20:57
· 572 commits to master since this release
e2b13e5
  • Adds method to_sub_units() on monetary amounts which for most currencies multiplies the value with 100, but for example for stockholm.currency.JPY wouldn't change the value at all.
  • Adds method to_currency(currency) (and shorted to(currency)) on monetary amounts which just changes the currency of the monetary amount without any kind of changes to the amount itself.