replacingValues

Creates a new ClosedRange<Measurement<UnitType>> from a numeric range using the same unit type as this range.