Searched refs:ROUND_DOWN (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/java/math/ |
D | RoundingMode.java | 142 DOWN(BigDecimal.ROUND_DOWN), 331 case BigDecimal.ROUND_DOWN: in valueOf()
|
D | BigDecimal.java | 2276 public final static int ROUND_DOWN = 1; field in BigDecimal 3028 return this.setScale(0, ROUND_DOWN).inflated(); 4138 if (roundingMode == ROUND_DOWN && scale == preferredScale) in divideAndRound() 4160 if (roundingMode == ROUND_DOWN) in divideAndRound() 4184 case ROUND_DOWN: // Towards zero in commonNeedIncrement() 4894 if (roundingMode == ROUND_DOWN && scale == preferredScale) { 4916 if (roundingMode == ROUND_DOWN && scale == preferredScale)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigDecimalTest.java | 228 divd3 = divd1.divide(divd2, BigDecimal.ROUND_DOWN); in test_divideLjava_math_BigDecimalI() 235 divd1.divide(divd2, BigDecimal.ROUND_DOWN); in test_divideLjava_math_BigDecimalI() 252 divd3 = divd1.divide(divd2, 0, BigDecimal.ROUND_DOWN); in test_divideLjava_math_BigDecimalII() 259 divd1.divide(divd2, 4, BigDecimal.ROUND_DOWN); in test_divideLjava_math_BigDecimalII() 624 setScale2 = setNeg.setScale(1, BigDecimal.ROUND_DOWN); in test_setScaleII() 630 setScale2 = setScale1.setScale(1, BigDecimal.ROUND_DOWN); in test_setScaleII()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 4133 return MathContext.ROUND_DOWN; in convertRoundingMode()
|