Releases: brick/money
Releases · brick/money
0.5.1
0.5.0
👌 Improvements
- compatibility with
brick/math
version0.9
When using brick/math
version 0.9
, the Money
factory methods such as of()
and ofMinor()
now accept decimal numbers in the form .123
and 123.
, and do not throw an exception anymore in this case.
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
Breaking Changes
- Deprecated method
BigRational::toMoney()
has been removed, useBigRational::to()
instead; BigRational::__toString()
now always outputs the amount in non-simplified rational form.
New methods
BigRational::simplified()
returns a copy of the money with the amount simplified.