Navigation: Reference Guide > Functions > Mathematical and Numeric Functions
ABS(x) ABSolute value
Returns the absolute value of X.
Same as IF THEN ELSE (X < 0, - X, X).
Examples
ABS (5.0) is equal to 5.0.
ABS (-5.0) is equal to 5.0.
Sample model: ABS.mdl in FunctionExamples