Searched refs:ROUND_DOWN (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/math/ |
D | RoundingMode.java | 39 DOWN(BigDecimal.ROUND_DOWN), 104 case BigDecimal.ROUND_DOWN: in valueOf()
|
D | BigDecimal.java | 50 public static final int ROUND_DOWN = 1; field in BigDecimal
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | RoundingModeTest.java | 30 …assertEquals("valueOf failed for ROUND_DOWN", RoundingMode.valueOf(BigDecimal.ROUND_DOWN), Roundin… in test_valueOfI()
|
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()
|
D | BigDecimalScaleOperationsTest.java | 162 BigDecimal bNumber = aNumber.setScale(newScale, BigDecimal.ROUND_DOWN); in testSetScaleRoundDown()
|
D | BigDecimalArithmeticTest.java | 643 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_DOWN); in testDivideRoundDownNeg() 660 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_DOWN); in testDivideRoundDownPos()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 4133 return MathContext.ROUND_DOWN; in convertRoundingMode()
|