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