Releases: Rhymond/go-money
Releases · Rhymond/go-money
v1.0.4
- Ubuntu version changed from
ubuntu-16.04
to latest
in github workflow
- Merged #101 Fix marshalling the zero value of Money to JSON. Thanks @bencrouse
- Merged #94 Fix negative split remainder. Thanks @ConradKurth
v1.0.3
- Sentinel error when currencies do not match
- Remove old and unsupported Go versions from checks
v1.0.2
- Added ISO 4217 numeric codes for currency
v1.0.1
- Fixed fraction for TWN currency
v1.0.0
- Add JSON Marshal/Unmarshal.
- Travis golang versions updated.
- Remove Divide method, to avoid issues with floats.
- Updated currencies.
v0.4.0
- Updated list of currencies.
- Added AsMajorUnits function to return Money as a float64 representing the amount value in the currency's subunit.
v0.3.7
Merge pull request #36 from Toasterson/patch-1
Add SwissFranc with proper Formatting
v0.3.6
Fix redundant decimal when fraction is 0
v0.3.5
Merge pull request #26 from llonchj/feature/get-currency
GetCurrency implementation