Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity.java70 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext); in roundToIncrement() method
DDecimalQuantity_AbstractBCD.java175 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.java68 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext); in roundToIncrement() method
DDecimalQuantity_AbstractBCD.java173 public void roundToIncrement(BigDecimal roundingIncrement, MathContext mathContext) { in roundToIncrement() method in DecimalQuantity_AbstractBCD
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DDecimalQuantityTest.java215 q0.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRoundingInterval()
216 q1.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRoundingInterval()
221 q0.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_CEILING); in testDecimalQuantityRoundingInterval()
222 q1.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_CEILING); in testDecimalQuantityRoundingInterval()
430 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.java212 q0.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRoundingInterval()
213 q1.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRoundingInterval()
218 q0.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_CEILING); in testDecimalQuantityRoundingInterval()
219 q1.roundToIncrement(new BigDecimal("0.05"), MATH_CONTEXT_CEILING); in testDecimalQuantityRoundingInterval()
427 fq.roundToIncrement(new BigDecimal("0.005"), MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityBehaviorStandalone()
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.h87 void roundToIncrement(double roundingIncrement, RoundingMode roundingMode,
Dnumber_rounding.cpp441 value.roundToIncrement( in apply()
Dnumber_decimalquantity.cpp184 void DecimalQuantity::roundToIncrement(double roundingIncrement, RoundingMode roundingMode, in roundToIncrement() function in DecimalQuantity
/external/icu/libicu/cts_headers/
Dnumber_decimalquantity.h87 void roundToIncrement(double roundingIncrement, RoundingMode roundingMode,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java368 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext) {
381 roundToIncrement(nickel, mathContext);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java365 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext) {
378 roundToIncrement(nickel, mathContext);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DPrecision.java731 value.roundToIncrement(increment, mathContext); in apply()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DPrecision.java720 value.roundToIncrement(increment, mathContext); in apply()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp103 fq.roundToIncrement(0.005, RoundingMode::UNUM_ROUND_HALFEVEN, status); in testDecimalQuantityBehaviorStandalone()