Home
last modified time | relevance | path

Searched refs:roundToIncrement (Results 1 – 14 of 14) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DDecimalQuantityTest.java208 q0.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRoundingInterval()
209 q1.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRoundingInterval()
214 q0.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_CEILING); in testDecimalQuantityRoundingInterval()
215 q1.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_CEILING); in testDecimalQuantityRoundingInterval()
409 fq.roundToIncrement(new BigDecimal("0.005"), MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityBehaviorStandalone()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DDecimalQuantityTest.java205 q0.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRoundingInterval()
206 q1.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRoundingInterval()
211 q0.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_CEILING); in testDecimalQuantityRoundingInterval()
212 q1.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_CEILING); in testDecimalQuantityRoundingInterval()
406 fq.roundToIncrement(new BigDecimal("0.005"), MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityBehaviorStandalone()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity.java64 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext); in roundToIncrement() method
DDecimalQuantity_AbstractBCD.java182 public void roundToIncrement(BigDecimal roundingIncrement, MathContext mathContext) { in roundToIncrement() method in DecimalQuantity_AbstractBCD
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity.java62 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext); in roundToIncrement() method
DDecimalQuantity_AbstractBCD.java180 public void roundToIncrement(BigDecimal roundingIncrement, MathContext mathContext) { in roundToIncrement() method in DecimalQuantity_AbstractBCD
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.h81 void roundToIncrement(double roundingIncrement, RoundingMode roundingMode,
Dnumber_rounding.cpp392 value.roundToIncrement( in apply()
Dnumber_decimalquantity.cpp173 void DecimalQuantity::roundToIncrement(double roundingIncrement, RoundingMode roundingMode, in roundToIncrement() function in DecimalQuantity
/external/icu/android_icu4j/src/main/java/android/icu/number/
DPrecision.java691 value.roundToIncrement(increment, mathContext); in apply()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DPrecision.java703 value.roundToIncrement(increment, mathContext); in apply()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp94 fq.roundToIncrement(0.005, RoundingMode::UNUM_ROUND_HALFEVEN, 3, status); in testDecimalQuantityBehaviorStandalone()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java359 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext) {
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java356 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext) {