Specifications
Chapter 15. Function Reference
338
Syntax:
ABS(numericexpression)
Description:
ABS returns the absolute value of numericexpression. The absolute value is
the magnitude of
numericexpression without regard to sign. For example,
both
ABS (-12.34) and ABS (12.34) are equal to 12.34.
• If you give a real number, this function returns a real number; if an integer number,
this function returns an integer number.
ABSolute Numeric function
ABS
Returns the absolute value of a numeric expression.