Home
last modified time | relevance | path

Searched refs:roundingInterval (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPatternStringUtils.java89 BigDecimal roundingInterval = properties.getRoundingIncrement(); in propertiesToPatternString() local
100 } else if (roundingInterval != null) { in propertiesToPatternString()
102 digitsStringScale = -roundingInterval.scale(); in propertiesToPatternString()
104 … String str = roundingInterval.scaleByPowerOfTen(roundingInterval.scale()).toPlainString(); in propertiesToPatternString()
DDecimalQuantity.java62 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext); in roundToIncrement() argument
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPatternStringUtils.java91 BigDecimal roundingInterval = properties.getRoundingIncrement(); in propertiesToPatternString() local
102 } else if (roundingInterval != null) { in propertiesToPatternString()
104 digitsStringScale = -roundingInterval.scale(); in propertiesToPatternString()
106 … String str = roundingInterval.scaleByPowerOfTen(roundingInterval.scale()).toPlainString(); in propertiesToPatternString()
DDecimalQuantity.java64 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext); in roundToIncrement() argument
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java359 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext) {
363 d = d.divide(roundingInterval, 0, mathContext.getRoundingMode()).multiply(roundingInterval);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java356 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext) {
360 d = d.divide(roundingInterval, 0, mathContext.getRoundingMode()).multiply(roundingInterval);
/external/icu/icu4c/source/i18n/
Dnumber_patternstring.cpp706 double roundingInterval = properties.roundingIncrement; in propertiesToPatternString() local
717 } else if (roundingInterval != 0.0) { in propertiesToPatternString()
719 digitsStringScale = -roundingutils::doubleFractionLength(roundingInterval); in propertiesToPatternString()
722 incrementQuantity.setToDouble(roundingInterval); in propertiesToPatternString()