Returns the absolute value(s) of the specified number(s).
abs( number, … )
number: (Decimal Array) A number or array of numbers, the absolute value(s) of which will be returned.
Decimal
If the number values are integers, the function will return an integer.
You can experiment with this function in the test box below.
Test Input
abs(-2.0)
returns 2