Home
last modified time | relevance | path

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

12

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DMathContext.java174 public static final int ROUND_HALF_DOWN=5; field in MathContext
313 …ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EV…
DBigDecimal.java291 public static final int ROUND_HALF_DOWN = com.ibm.icu.math.MathContext.ROUND_HALF_DOWN; field in BigDecimal
3687 } else if (mode == ROUND_HALF_DOWN) { // 0.5000 goes down in round()
/external/icu/android_icu4j/src/main/java/android/icu/math/
DMathContext.java167 public static final int ROUND_HALF_DOWN=5; field in MathContext
302 …ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EV…
DBigDecimal.java286 public static final int ROUND_HALF_DOWN = android.icu.math.MathContext.ROUND_HALF_DOWN; field in BigDecimal
3622 } else if (mode == ROUND_HALF_DOWN) { // 0.5000 goes down in round()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DMathContext.java174 public static final int ROUND_HALF_DOWN=5; field in MathContext
313 …ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EV…
DBigDecimal.java293 public static final int ROUND_HALF_DOWN = com.ibm.icu.math.MathContext.ROUND_HALF_DOWN; field in BigDecimal
3697 } else if (mode == ROUND_HALF_DOWN) { // 0.5000 goes down in round()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java122 case com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN: in getRoundingMode()
216 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN); in setRoundingMode()
DDecimalFormatICU.java211 case com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN: in getRoundingMode()
374 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN); in setRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java160 icuMode = BigDecimal.ROUND_HALF_DOWN; in getRoundingMode()
264 case BigDecimal.ROUND_HALF_DOWN: in setRoundingMode()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java229 case ROUND_HALF_DOWN: in round()
DDfpField.java41 ROUND_HALF_DOWN, enumConstant
DDfp.java1345 case ROUND_HALF_DOWN: in round()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTestData.java142 roundingModeMap.put("halfDown", BigDecimal.ROUND_HALF_DOWN);
DNumberFormatTest.java464 BigDecimal.ROUND_HALF_DOWN, in TestRoundingScientific10542()
572 {BigDecimal.ROUND_HALF_DOWN, 1.5, "1"}, in Test10419RoundingWith0FractionDigits()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTestData.java141 roundingModeMap.put("halfDown", BigDecimal.ROUND_HALF_DOWN);
DNumberFormatTest.java463 BigDecimal.ROUND_HALF_DOWN, in TestRoundingScientific10542()
571 {BigDecimal.ROUND_HALF_DOWN, 1.5, "1"}, in Test10419RoundingWith0FractionDigits()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java1558 case BigDecimal.ROUND_HALF_DOWN : {
1610 "ROUND_HALF_DOWN", BigDecimal.ROUND_HALF_DOWN,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimalTest.java710 …cuc013", android.icu.math.BigDecimal.ROUND_HALF_DOWN == (constantVal = android.icu.math.MathContex… in diagmutation()
1185 …text(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_HALF_DOWN); in diagdivide()
1322 ….math.BigDecimal("0.045")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1323 ….math.BigDecimal("0.045")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1324 ….math.BigDecimal("0.045")).divide(one,0,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1325 ….math.BigDecimal("0.050")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1326 ….math.BigDecimal("0.050")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1327 ….math.BigDecimal("0.050")).divide(one,0,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1328 ….math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1329 ….math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimalTest.java709 …cuc013", com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN == (constantVal = com.ibm.icu.math.MathContex… in diagmutation()
1184 …text(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN); in diagdivide()
1321 ….math.BigDecimal("0.045")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1322 ….math.BigDecimal("0.045")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1323 ….math.BigDecimal("0.045")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1324 ….math.BigDecimal("0.050")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1325 ….math.BigDecimal("0.050")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1326 ….math.BigDecimal("0.050")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1327 ….math.BigDecimal("0.055")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
1328 ….math.BigDecimal("0.055")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java667 MathContext.ROUND_HALF_DOWN, MathContext.ROUND_HALF_EVEN, MathContext.ROUND_HALF_UP,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java666 MathContext.ROUND_HALF_DOWN, MathContext.ROUND_HALF_EVEN, MathContext.ROUND_HALF_UP,
/external/python/cpython2/Lib/
Ddecimal.py155 ROUND_HALF_DOWN = 'ROUND_HALF_DOWN' variable
345 ROUND_HALF_DOWN, ROUND_UP):
1800 ROUND_HALF_DOWN = _round_half_down,
/external/python/cpython2/Doc/library/
Ddecimal.rst93 :const:`ROUND_FLOOR`, :const:`ROUND_HALF_DOWN`, :const:`ROUND_HALF_EVEN`,
244 >>> myothercontext = Context(prec=60, rounding=ROUND_HALF_DOWN)
1045 * :const:`ROUND_HALF_DOWN` (to nearest with ties going towards zero),
/external/python/cpython2/Lib/test/
Dtest_decimal.py143 'half_down' : ROUND_HALF_DOWN,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java1064 case BigDecimal.ROUND_HALF_DOWN: in round()

12