Releases: govalues/money
Releases · govalues/money
v0.2.4
Added
-
Implemented Amount.AddMul
, Amount.AddQuo
, Amount.SubMul
, Amount.SubQuo
, Amount.Equal
, Amount.Less
.
-
Implemented Currency.AppendBinary
, Currency.AppendText
, Currency.UnmarshalJSON
, Currency.MarshalJSON
, Currency.UnmarshalBSONValue
, Currency.MarshalBSONValue
.
Changed
ExchangeRate.Conv
supports both direct and reverse conversions.
- Deprecated
Amount.FMA
and ExchangeRate.Inv
methods.
v0.2.3
Changed
- Allowed rounding to the scale smaller than the currency scale.
v0.2.2
money: improve table formatting
v0.2.1
money: improve documentation and test coverage
v0.2.0
money: implement new constructors and methods
v0.1.3
money: implement sql driver methods and enable linters
v0.1.2
Merge pull request #6 from govalues/quo-rem-method
money: implement Amount.QuoRem method
v0.1.1
Merge pull request #5 from govalues/int64-scale-argument
amount: Implement scale argument in Int64 method
v0.1.0
Merge pull request #4 from govalues/error-management
money: implement panic free methods
v0.0.3
Merge pull request #3 from govalues/improved-documentation
money: improved documentation