Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

abs/2—determine the absolute value of a numeric  value


The abs/2  function determines the absolute value of a numeric value.

$ABSVAL=abs($NUMBER)

abs/2 arguments

Argument

Mode

Type

Description

$NUMBER

Input

INTEGER|REAL

Specifies the numeric (integer or real) value for which the absolute value is to be returned

$ABSVAL

Output

INTEGER|REAL

Returns the absolute value of the number

The abs/2 function returns the absolute value of the numeric value specified in the $NUMBER argument as $ABSVAL.

abs/2 example

$ABS = abs( $AVERAGE_DURATION - real($E.duration) );

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*