Function abs()
calculates the absolute value of a number, the return is non-negative.
Arguments:
- Number <number>
Returns:
- Absolute value <number>, non-negative
Common Usage
Example: Calculate the absolute value of each row of an alias
uncollect [1, -2.5, 3.7] as a
return abs(a)
1
2.5
3.7