Returns the {@code RoundingMode} object corresponding to a
legacy integer rounding mode constant in {@link BigDecimal}.
@param rm legacy integer rounding mode to convert
@return {@code RoundingMode} corresponding to the given integer.
@throws IllegalArgumentException integer is out of range
Returns the {@code RoundingMode} object corresponding to a legacy integer rounding mode constant in {@link BigDecimal}.
@param rm legacy integer rounding mode to convert @return {@code RoundingMode} corresponding to the given integer. @throws IllegalArgumentException integer is out of range