Searched refs:rangeBD (Results 1 – 1 of 1) sorted by relevance
3041 … BigDecimal rangeBD = BigDecimal.valueOf(range.getMaximum()).subtract(minBD).add(BigDecimal.ONE); in convertToFraction() local3043 BigDecimal fraction = valueBD.divide(rangeBD, 9, RoundingMode.FLOOR); in convertToFraction()3067 … BigDecimal rangeBD = BigDecimal.valueOf(range.getMaximum()).subtract(minBD).add(BigDecimal.ONE); in convertFromFraction() local3068 … BigDecimal valueBD = fraction.multiply(rangeBD).setScale(0, RoundingMode.FLOOR).add(minBD); in convertFromFraction()