Applies from Version: | WEBcnx 2024.1 | Applies to Version: |
Description
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 has the following arguments:
- number Required. The number of which you want the absolute value.
Returns
A positive number
Examples
Expression | Description | Result |
---|---|---|
ABS(2) | Absolute value of 2. | 2 |
ABS(-2) | Absolute value of -2. | 2 |