Skip to content

Releases: Rhymond/go-money

v1.0.4

31 Mar 10:01
940609b
Compare
Choose a tag to compare
  • 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

16 Jul 08:21
2e1877f
Compare
Choose a tag to compare
  • Sentinel error when currencies do not match
  • Remove old and unsupported Go versions from checks

v1.0.2

24 Nov 16:44
cec38d4
Compare
Choose a tag to compare
  • Added ISO 4217 numeric codes for currency

v1.0.1

10 Feb 10:19
Compare
Choose a tag to compare
  • Fixed fraction for TWN currency

v1.0.0

05 Jan 14:33
Compare
Choose a tag to compare
  • Add JSON Marshal/Unmarshal.
  • Travis golang versions updated.
  • Remove Divide method, to avoid issues with floats.
  • Updated currencies.

v0.4.0

26 Jul 19:43
6c66f98
Compare
Choose a tag to compare
  • Updated list of currencies.
  • Added AsMajorUnits function to return Money as a float64 representing the amount value in the currency's subunit.

v0.3.8

14 Mar 11:21
86a7a05
Compare
Choose a tag to compare
  • go.mod file

v0.3.7

30 Jan 10:28
c7763e6
Compare
Choose a tag to compare
Merge pull request #36 from Toasterson/patch-1

Add SwissFranc with proper Formatting

v0.3.6

31 Oct 08:55
012e82b
Compare
Choose a tag to compare

Fix redundant decimal when fraction is 0

v0.3.5

12 Jun 09:51
Compare
Choose a tag to compare
Merge pull request #26 from llonchj/feature/get-currency

GetCurrency implementation