RoundingMode
of DefaultRoundingProvider
hardcoded to HALF_EVEN
#408
Labels
RoundingMode
of DefaultRoundingProvider
hardcoded to HALF_EVEN
#408
I've set the
org.javamoney.moneta.Money.defaults.roundingMode
property toHALF_UP
but noticed that the rounding usingMonetary.getDefaultRounding()
still usedHALF_EVEN
when rounding.I think this is due to the DefaultRoundingProvider having the default roundingMode set to
HALF_EVEN
instead of using the configuration.See:
jsr354-ri/moneta-core/src/main/java/org/javamoney/moneta/spi/DefaultRoundingProvider.java
Line 59 in 3415a66
Is this expected behavior?
The text was updated successfully, but these errors were encountered: