Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/math/
DRoundingMode.java63 HALF_UP(BigDecimal.ROUND_HALF_UP),
112 case BigDecimal.ROUND_HALF_UP: in valueOf()
DBigDecimal.java76 public static final int ROUND_HALF_UP = 4; field in BigDecimal
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DRoundingModeTest.java34 …s("valueOf failed for ROUND_HALF_UP", RoundingMode.valueOf(BigDecimal.ROUND_HALF_UP), RoundingMode… in test_valueOfI()
DBigDecimalTest.java247 BigDecimal divd3 = divd1.divide(divd2, 3, BigDecimal.ROUND_HALF_UP); in test_divideLjava_math_BigDecimalII()
687 setScale2 = setScale1.setScale(3, BigDecimal.ROUND_HALF_UP); in test_setScaleII()
693 setScale2 = setNeg.setScale(0, BigDecimal.ROUND_HALF_UP); in test_setScaleII()
DBigDecimalScaleOperationsTest.java204 BigDecimal bNumber = aNumber.setScale(newScale, BigDecimal.ROUND_HALF_UP); in testSetScaleRoundHalfUp()
DBigDecimalArithmeticTest.java745 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_UP); in testDivideRoundHalfUpPos()
762 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_UP); in testDivideRoundHalfUpNeg()
779 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_UP); in testDivideRoundHalfUpPos1()
796 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_UP); in testDivideRoundHalfUpNeg1()
813 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_UP); in testDivideRoundHalfUpNeg2()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java4139 return MathContext.ROUND_HALF_UP; in convertRoundingMode()