Searched refs:valueBD (Results 1 – 1 of 1) sorted by relevance
3042 BigDecimal valueBD = BigDecimal.valueOf(value).subtract(minBD); in convertToFraction() local3043 BigDecimal fraction = valueBD.divide(rangeBD, 9, RoundingMode.FLOOR); in convertToFraction()3068 … BigDecimal valueBD = fraction.multiply(rangeBD).setScale(0, RoundingMode.FLOOR).add(minBD); in convertFromFraction() local3069 return valueBD.longValueExact(); in convertFromFraction()