Improved: Replace deprecated BigDecimal.ROUND_HALF by  RoundingMode.HALF (OFBIZ-13103)

Address this deprecation

int java.math.BigDecimal.ROUND_HALF_UP
Deprecated. Use RoundingMode.HALF_UP instead.

Rounding mode to round towards "nearest neighbor" unless both neighbors are
equidistant, in which case round up. Behaves as for ROUND_UP if the discarded
fraction is ≥ 0.5; otherwise, behaves as for ROUND_DOWN. Note that this is the
rounding mode that most of us were taught in grade school.
6 files changed