Skip to content

2.0.0

Compare
Choose a tag to compare
@remcotolsma remcotolsma released this 05 Aug 08:22

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.