Searched refs:ROUND_HALF_UP (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/math/ |
D | RoundingMode.java | 63 HALF_UP(BigDecimal.ROUND_HALF_UP), 112 case BigDecimal.ROUND_HALF_UP: in valueOf()
|
D | BigDecimal.java | 76 public static final int ROUND_HALF_UP = 4; field in BigDecimal
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | RoundingModeTest.java | 34 …s("valueOf failed for ROUND_HALF_UP", RoundingMode.valueOf(BigDecimal.ROUND_HALF_UP), RoundingMode… in test_valueOfI()
|
D | BigDecimalTest.java | 247 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()
|
D | BigDecimalScaleOperationsTest.java | 204 BigDecimal bNumber = aNumber.setScale(newScale, BigDecimal.ROUND_HALF_UP); in testSetScaleRoundHalfUp()
|
D | BigDecimalArithmeticTest.java | 745 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/ |
D | DecimalFormat.java | 4139 return MathContext.ROUND_HALF_UP; in convertRoundingMode()
|