Searched refs:minBD (Results 1 – 1 of 1) sorted by relevance
3031 BigDecimal minBD = BigDecimal.valueOf(range.getMinimum()); in convertToFraction() local3032 … BigDecimal rangeBD = BigDecimal.valueOf(range.getMaximum()).subtract(minBD).add(BigDecimal.ONE); in convertToFraction()3033 BigDecimal valueBD = BigDecimal.valueOf(value).subtract(minBD); in convertToFraction()3057 BigDecimal minBD = BigDecimal.valueOf(range.getMinimum()); in convertFromFraction() local3058 … BigDecimal rangeBD = BigDecimal.valueOf(range.getMaximum()).subtract(minBD).add(BigDecimal.ONE); in convertFromFraction()3059 … BigDecimal valueBD = fraction.multiply(rangeBD).setScale(0, RoundingMode.FLOOR).add(minBD); in convertFromFraction()