4min
abs()
Returns the absolute value of a given value.
abs(value)
- value - the value to be evaluated by the function.
- Input value must be of type Number.
- Return type: Number.
abs(-10) returns 10.
Input type | Return type | Logic |
Number | Number | No type conversion. |
Unsupported data types | Null | Unsupported data types return Null. |