Skip to content

Releases: pronamic/wp-money

2.0.0

05 Aug 08:22
Compare
Choose a tag to compare

Changed

  • Use pronamic/wp-number library.
  • Simplified JSON, always include currency, without it's just a number value.
  • Function get_minor_units will now return a Number object.
  • No longer use i18n in the 'normal' format() funciton.
  • Validate alphabetic code.

Added

  • Added money amount number format helper functions.
  • Added taxed money test.
  • Added test for unknown currency.

Removed

  • Removed deprecated get_cents function.

1.2.1

27 Mar 15:38
Compare
Choose a tag to compare
  • Added get_minor_units method based on decimals of currency.
  • Updated copyright to 2005-2019 Pronamic.