Function EvaluateUnit(unit)

EvaluateUnit

With the function EvaluateUnit you can compute the numerical value (with associated unit) of a given unit expression.

EvaluateUnit(
     unit                ! (input) scalar unit expression
     )

Arguments

unit

A unit expression of which the numerical value (with associated unit) must be computed

Return Value

The function returns the numerical value (with associated unit), corresponding to one unit of unit.

Note

The function EvaluateUnit is an extension of AIMMS’ local unit override capabilities which allows computed unit expressions.

See also

Unit expressions are discussed in full detail in Units of Measurement of the

Language Reference.