ANS85 

Definitions of Functions

The table below summarizes the intrinsic functions that are available.

The "arguments" column defines argument type and the "type" column defines the type of the function, as follows:

Alph means alphabetic
Anum means alphanumeric
Int means integer
Nat means national
Num means numeric
Table 1. Summary of Functions
Function-Name Arguments Type Value Returned
The ABS Function Int1 or Num1 Depends upon arguments The absolute value of argument
The ACOS Function Num1 Num Arccosine of Num1
The ANNUITY Function Num1, Int2 Num Ratio of annuity paid for Int2 periods at interest of Num1 to initial investment of one
The ASIN Function Num1 Num Arcsine of Num1
The ATAN Function Num1 Num Arctangent of Num1
The CHAR Function Int1 Anum Character in position Int1 of the alphanumeric program collating sequence
The CHAR-NATIONAL Function Int1 Nat Character in position Int1 of the national program collating sequence
The COS Function Num1