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)
Notes
Function abs
returns the absolute (no negative sign) value of a double expression.