ABS

ABS function returns the absolute value of a number or an expression that evaluates to a number.

COMMAND SYNTAX

    ABS(expression)

SYNTAX ELEMENTS

expression can be of any form that should evaluate to a numeric. The ABS function will then return the absolute value of this expression.

EXAMPLES

       CRT ABS(10 - 15)

Displays the value 5.

       PositiveVar = ABS(100 - 200)

Assigns the value 100 to the variable PositiveVar.

Last update: Sat, 16 Jul 2022 15:34