ABS()

Arithmetic absolute value

Returns the absolute value of x.

Sample usage

ABS(0) returns 0 (Number)

ABS(1) returns 1 (Number)

ABS(-1) returns 1 (Number)

ABS(0.0) returns 0 (Decimal)

ABS(3.14) returns 3.14 (Decimal)

ABS(-3.14) returns 3.14 (Decimal)

Syntax

ABS(x)

  • x - Any numeric type.

See also

CEILING()

FLOOR()

ROUND()

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Google apps
Main menu
18049002693264570095
true
Search Help Center
true
true
true
false
false