You are viewing content for 5.1 | 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


abs

Returns the absolute value of an expression evaluating to double.

Example

Find the absolute value of the integer -4.

abs(-4)

Syntax

abs(double expr x)
  • x : expression evaluating to double

    Returns

    double

Notes

Function abs returns the absolute (no negative sign) value of a double expression.


© Incorta, Inc. All Rights Reserved.