- Function ConvertUnit(unit, convention)¶
ConvertUnit¶
With the function ConvertUnit
you can compute the associated unit
value of a unit expression with respect to a given convention.
ConvertUnit(
unit, ! (input) scalar unit expression
convention ! (input) element expression
)
Arguments¶
- unit
A unit expression of which the associated unit value in the given convention must be computed
- convention
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.