Syntax

ABS(x)

Arguments

  • x (any numeric type)

Return Value

The absolute value of x.

Examples

ABS(0) returns Number: 0

ABS(1) returns Number: 1

ABS(-1) returns Number: 1

ABS(0.0) returns Decimal: 0

ABS(3.14) returns Decimal: 3.14

ABS(-3.14) returns Decimal: 3.14

See Also

CEILING(), FLOOR(), ROUND()

Did this answer your question?