Money v6.2.0 Release Notes
-
- Fixes formatting error when both
thousands_separator
anddecimal_mark
was added to Money#format as options. - Add Money#to_i which returns the whole part of the value. i.e. Money.new(100, "USD").to_i # => 1
- Fix output on Ukrainian Hryvnia symbol in HTML.
- Add documentation about i18n in README.
- Update iso code, symbol, subunit for the new Turkmenistani manat (GH-181)
- Performance Improvements (1.99x faster on MRI, 1.85x on Rubinius, 41.4x faster on JRuby)
- Money can now add and subtract Fixnum 0
- Money#new uses Money.default_currency if currency arg is nil (GH-410)
- Fixed formatting of NOK, putting the symbol after numbers
- Fixed issue where rounded_infinite_precision formatting fails for some localized currencies (GH-422)
- Fixes formatting error when both