ABS
- 27 May 2022
- 1 Minute to read
- DarkLight
- PDF
ABS
- Updated on 27 May 2022
- 1 Minute to read
- DarkLight
- PDF
Article Summary
Calculates the absolute value of the given number, i.e. if the number is negative, its positive value is returned.
Function signature
ABS(number: Number) => Number
Parameter | Description |
---|---|
Number | Number whose absolute value to return |
Examples
Formula | Return value |
---|---|
ABS(4.9) | 4.9 |
ABS(-3.71) | 3.71 |
ABS(0) | 0 |
Was this article helpful?