Description
Calculates the absolute value of a number.
Syntax
Abs ( n )
Return value
The datatype of n. Returns the absolute value of n.
Examples
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
See also
Abs in the section called “Abs” in PowerScript Reference