Normalize extension

Extension on num to provide common numeric utilities, including temperature conversions and normalization.

on

Methods

celsiusToFahrenheit() double

Available on num, provided by the Normalize extension

Converts Celsius to Fahrenheit.
fahrenheitToCelsius() double

Available on num, provided by the Normalize extension

Converts 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

Normalizes this number from its own range to a target range.