Searched refs:ROUND_HALF_UP (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/math/ |
D | RoundingMode.java | 219 HALF_UP(BigDecimal.ROUND_HALF_UP), 340 case BigDecimal.ROUND_HALF_UP: in valueOf()
|
D | BigDecimal.java | 2304 public final static int ROUND_HALF_UP = 4; field in BigDecimal 4194 assert roundingMode >= ROUND_HALF_UP && in commonNeedIncrement() 4208 case ROUND_HALF_UP: in commonNeedIncrement()
|
/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()
|
/libcore/api/ |
D | current.txt | 4760 field public static final int ROUND_HALF_UP = 4; // 0x4
|