Skip to content

New features: Money strings formatting

Compare
Choose a tag to compare
@toonvandenbos toonvandenbos released this 13 Aug 17:14
· 17 commits to 2.x since this release
43702aa

New features:

  • Price::format(Price|Vat|Money $value, string $locale) : formats given monetary value into a human readable string respecting the target locale's formatting syntax.
  • Price::formatUsing(callable $closure) : add your own formatting functions!