Celcius
Functions
Link copied to clipboard
fun <UnitType : Dimension> ClosedRange<Measurement<UnitType>>.replacingValues(values: ClosedRange<Double>): ClosedRange<Measurement<UnitType>>
Creates a new ClosedRange<Measurement<UnitType>> from a numeric range using the same unit type as this range.
Link copied to clipboard
Link copied to clipboard
Returns a ClosedRange<Double> with just the numeric values from a range of Measurements.
fun <UnitType : Dimension> ClosedRange<Measurement<UnitType>>.values(convertedTo: UnitType): ClosedRange<Double>
Returns numeric bounds converted to the specified unit first.