Description
Returns the absolute value of a number.
Syntax
ABS(numeric_expression)
Examples
ABS(-343)
returns 343.0
Return value datatype
Same as input datatype
Impact of null value
If input is null, returns null.
Returns the absolute value of a number.
ABS(numeric_expression)
ABS(-343)
returns 343.0
Same as input datatype
If input is null, returns null.
Free 7-day trial. Easy setup. Cancel any time