Brick\Money v0.5.2 Release Notes
Release Date: 2021-04-03 // about 1 year ago-
๐ โจ New methods
Money::allocateWithRemainder()
Money::splitWithRemainder()
These methods perform like their
allocate()
andsplit()
counterparts, but append the remainder at the end of the returned array instead of spreading it over the first monies.Thanks @NCatalani!
Previous changes from v0.5.1
-
๐ ๐ Improvement
BaseCurrencyProvider
now always returns aBigNumber
for convenience (#37). This is useful if you're usingBaseCurrencyProvider
on its own, not just inCurrencyConverter
.Thanks @rdarcy1!