Lines Matching refs:RoundingMode
59 * of the {@code RoundingMode} {@code enum}, (such as {@link
60 * RoundingMode#HALF_UP}) should be used instead.
150 * three digits using the {@linkplain RoundingMode#FLOOR floor}
212 * @see RoundingMode
866 * RoundingMode is UNNECESSARY.
1357 * <p>The new {@link #divide(BigDecimal, int, RoundingMode)} method
1507 * {@code roundingMode==RoundingMode.UNNECESSARY} and
1512 public BigDecimal divide(BigDecimal divisor, int scale, RoundingMode roundingMode) {
1522 * <p>The new {@link #divide(BigDecimal, RoundingMode)} method
1557 * {@code roundingMode==RoundingMode.UNNECESSARY} and
1562 public BigDecimal divide(BigDecimal divisor, RoundingMode roundingMode) {
1611 RoundingMode.UNNECESSARY);
1735 RoundingMode.DOWN));
1737 quotient = quotient.setScale(0, RoundingMode.DOWN);
1784 divide(divisor, new MathContext(mc.precision, RoundingMode.DOWN));
1804 result = result.setScale(0, RoundingMode.DOWN);
2331 * @see RoundingMode
2334 public BigDecimal setScale(int newScale, RoundingMode roundingMode) {
2355 * <p>The new {@link #setScale(int, RoundingMode)} method should
2446 * @see #setScale(int, RoundingMode)
2792 * {@link #setScale(int,RoundingMode) setScale} method may be used for
3718 * {@code RoundingMode.UNNECESSARY} and the
3741 * {@code RoundingMode.UNNECESSARY} and the