Function Unit(unit)

Unit

The function Unit returns the unit value of a given unit constant.

Unit(
     unit          ! (input) scalar unit constant
     )

Arguments

unit

A unit constant of which the associated unit value must be computed

Return Value

The function returns the unit value of a unit constant unit.

Note

The function Unit simply returns its argument. It exists to allow the use of numeric constants in computed unit expressions.

See also

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