Searched refs:ROUND_HALF_DOWN (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/math/ |
D | RoundingMode.java | 69 HALF_DOWN(BigDecimal.ROUND_HALF_DOWN), 108 case BigDecimal.ROUND_HALF_DOWN: in valueOf()
|
D | BigDecimal.java | 84 public static final int ROUND_HALF_DOWN = 5; field in BigDecimal
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | RoundingModeTest.java | 32 …valueOf failed for ROUND_HALF_DOWN", RoundingMode.valueOf(BigDecimal.ROUND_HALF_DOWN), RoundingMod… in test_valueOfI()
|
D | BigDecimalTest.java | 647 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()
|
D | BigDecimalScaleOperationsTest.java | 218 BigDecimal bNumber = aNumber.setScale(newScale, BigDecimal.ROUND_HALF_DOWN); in testSetScaleRoundHalfDown()
|
D | BigDecimalArithmeticTest.java | 830 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/ |
D | DecimalFormat.java | 4141 return MathContext.ROUND_HALF_DOWN; in convertRoundingMode()
|