Home
last modified time | relevance | path

Searched refs:ROUND_DOWN (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/main/java/java/math/
DRoundingMode.java39 DOWN(BigDecimal.ROUND_DOWN),
104 case BigDecimal.ROUND_DOWN: in valueOf()
DBigDecimal.java50 public static final int ROUND_DOWN = 1; field in BigDecimal
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DRoundingModeTest.java30 …assertEquals("valueOf failed for ROUND_DOWN", RoundingMode.valueOf(BigDecimal.ROUND_DOWN), Roundin… in test_valueOfI()
DBigDecimalTest.java228 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()
DBigDecimalScaleOperationsTest.java162 BigDecimal bNumber = aNumber.setScale(newScale, BigDecimal.ROUND_DOWN); in testSetScaleRoundDown()
DBigDecimalArithmeticTest.java643 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/
DDecimalFormat.java4133 return MathContext.ROUND_DOWN; in convertRoundingMode()