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