Abs
DataWindow expression function
Description
Calculates the absolute value of a number.
Syntax
|
1 |
Abs ( n ) |
|
Argument |
Description |
|---|---|
|
n |
The number for which you want the absolute |
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:
|
1 |
Count(product_number for All DISTINCT Abs (product_number)) |
Only data with an absolute value greater than 5 passes this
validation rule:
|
1 |
Abs(value_set) > 5 |
See also
Abs in the section called “Abs” in PowerScript Reference
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest