Abs

Returns the absolute value of a number. The absolute value of a number is the number without its sign.

Syntax

Abs(number)

The Abs function syntax has the following arguments:

Number Required. The real number of which you want the absolute value.

Example

Formula

Description

Result

=Abs(2)

Absolute value of 2

2

=Abs(-2)

Absolute value of -2

2