Last updated 1 year ago
Was this helpful?
The Abs() function takes the absolute value of a number.
Abs()
This function is NOT SQL compatible. For more information about SQL compatibility, see our .
Returns an absolute number
Returns Invalid expression if the parameter is not a valid number.
Invalid expression
Abs(
number
)
Abs(-123.4567) => 123.4567
Abs(-123.4567)
Abs(unknownnumber) => Invalid expression
Abs(unknownnumber)
numeric
a number
Abs(123.456)
123.456
Abs(-123.456)
Abs(1.23456*10^6)
1234560