Calculates the absolute value of a number.
Abs ( n )
Argument |
Description |
---|---|
n |
The number for which you want the absolute value |
The datatype of n. Returns the absolute value of n.
This expression counts all the product numbers where the absolute value of the product number is distinct:
Count(product_number for All DISTINCT Abs (product_number))
Only data with an absolute value greater than 5 passes this validation rule:
Abs(value_set) > 5
Abs in the PowerScript Reference