Closed ionspin closed 4 years ago
Describe the bug BigDecimal round() method provides unexpected result when exponent is negative
To Reproduce 0.000001234 with decimal mode 2, CEILING will become 0.0000013, instead of expected 0.01
Additional context Might be prudent to rething how default decimal mode is applied in regard to rounding in operations
Describe the bug BigDecimal round() method provides unexpected result when exponent is negative
To Reproduce 0.000001234 with decimal mode 2, CEILING will become 0.0000013, instead of expected 0.01
Additional context Might be prudent to rething how default decimal mode is applied in regard to rounding in operations