UnitConversionProps Interface

This interface defines the properties required to convert a quantity value from one unit to another such as from meters to feet or from Celsius to Fahrenheit.

Properties

Name Type Description
factor number The factor to multiply the input value by to convert to the output value.  
inversion UnitConversionInvert | undefined If set, inverts the unit value (1/x) before or after conversion.  
offset number The offset to add to the input value to convert to the output value.  

Defined in

Last Updated: 21 November, 2024