Specifications
CHAPTER 24 DataWindow Expression and InfoMaker Functions
Users Guide 641
Abs
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
Count
ACos
Description Calculates the arc cosine of an angle.
Syntax ACos ( n )
Return value
Double. Returns the arc cosine of n if it succeeds.
Examples This expression returns 0:
ACos(1)
This expression returns 3.141593 (rounded to six places):
ACos(-1)
This expression returns 1.000000 (rounded to six places):
ACos(.540302)
See also Cos
ASin
ATan
Argument Description
n The number for which you want the absolute value
Argument Description
n The ratio of the lengths of two sides of a triangle for which you want
a corresponding angle (in radians). The ratio must be a value
between -1 and 1.