Normalize extension

on

Methods

celsiusToFahrenheit() double

Available on num, provided by the Normalize extension

Convert Celsius to Fahrenheit
fahrenheitToCelsius() double

Available on num, provided by the Normalize extension

Convert Fahrenheit to Celsius
normalized(num selfRangeMin, num selfRangeMax, [num normalizedRangeMin = 0.0, num normalizedRangeMax = 1.0]) num

Available on num, provided by the Normalize extension

print(260.normalized(0.0, 300).toDouble()); // result: 0.8666666666666667