mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #2817 from hennevogel/refactor/money-rounding
Explicitely set rounding mode
This commit is contained in:
commit
d13f726701
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
# https://github.com/RubyMoney/money#deprecation
|
||||
Money.locale_backend = :i18n
|
||||
Money.rounding_mode = BigDecimal::ROUND_HALF_EVEN
|
||||
|
||||
MoneyRails.configure do |config|
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue