Merge pull request #2817 from hennevogel/refactor/money-rounding

Explicitely set rounding mode
This commit is contained in:
Henne Vogelsang 2021-08-18 16:06:40 +02:00 committed by GitHub
commit d13f726701
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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|