Function ConvertUnit(unit, convention)


With the function ConvertUnit you can compute the associated unit value of a unit expression with respect to a given convention.

     unit,                ! (input) scalar unit expression
     convention           ! (input) element expression



A unit expression of which the associated unit value in the given convention must be computed


An element expression in to AllConventions, representing the convention with respect to which a unit value must be computed.

Return Value

The function returns the associated unit value of unit with respect to convention.

See also

Unit expressions and conventions are discussed in full detail in Units of Measurement of the Language Reference.