Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/math/
DRoundingMode.java69 HALF_DOWN(BigDecimal.ROUND_HALF_DOWN),
108 case BigDecimal.ROUND_HALF_DOWN: in valueOf()
DBigDecimal.java84 public static final int ROUND_HALF_DOWN = 5; field in BigDecimal
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DRoundingModeTest.java32 …valueOf failed for ROUND_HALF_DOWN", RoundingMode.valueOf(BigDecimal.ROUND_HALF_DOWN), RoundingMod… in test_valueOfI()
DBigDecimalTest.java647 setScale2 = setScale1.setScale(3, BigDecimal.ROUND_HALF_DOWN); in test_setScaleII()
653 setScale2 = setScale1.setScale(1, BigDecimal.ROUND_HALF_DOWN); in test_setScaleII()
658 BigDecimal.ROUND_HALF_DOWN); in test_setScaleII()
DBigDecimalScaleOperationsTest.java218 BigDecimal bNumber = aNumber.setScale(newScale, BigDecimal.ROUND_HALF_DOWN); in testSetScaleRoundHalfDown()
DBigDecimalArithmeticTest.java830 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_DOWN); in testDivideRoundHalfDownPos()
847 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_DOWN); in testDivideRoundHalfDownNeg()
864 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_DOWN); in testDivideRoundHalfDownPos1()
881 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_DOWN); in testDivideRoundHalfDownNeg1()
898 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_DOWN); in testDivideRoundHalfDownNeg2()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java4141 return MathContext.ROUND_HALF_DOWN; in convertRoundingMode()