UnitConversionProps Interface @beta

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
error boolean | undefined If true, the conversion could not be resolved (e.g.  
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: 05 May, 2026