Searched refs:roundingInterval (Results 1 – 7 of 7) sorted by relevance
89 BigDecimal roundingInterval = properties.getRoundingIncrement(); in propertiesToPatternString() local100 } else if (roundingInterval != null) { in propertiesToPatternString()102 digitsStringScale = -roundingInterval.scale(); in propertiesToPatternString()104 … String str = roundingInterval.scaleByPowerOfTen(roundingInterval.scale()).toPlainString(); in propertiesToPatternString()
62 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext); in roundToIncrement() argument
91 BigDecimal roundingInterval = properties.getRoundingIncrement(); in propertiesToPatternString() local102 } else if (roundingInterval != null) { in propertiesToPatternString()104 digitsStringScale = -roundingInterval.scale(); in propertiesToPatternString()106 … String str = roundingInterval.scaleByPowerOfTen(roundingInterval.scale()).toPlainString(); in propertiesToPatternString()
64 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext); in roundToIncrement() argument
359 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext) {363 d = d.divide(roundingInterval, 0, mathContext.getRoundingMode()).multiply(roundingInterval);
356 public void roundToIncrement(BigDecimal roundingInterval, MathContext mathContext) {360 d = d.divide(roundingInterval, 0, mathContext.getRoundingMode()).multiply(roundingInterval);
706 double roundingInterval = properties.roundingIncrement; in propertiesToPatternString() local717 } else if (roundingInterval != 0.0) { in propertiesToPatternString()719 digitsStringScale = -roundingutils::doubleFractionLength(roundingInterval); in propertiesToPatternString()722 incrementQuantity.setToDouble(roundingInterval); in propertiesToPatternString()