HP 3000 Manuals

ANNUITY [ HP COBOL II/XL Quick Reference Guide ] MPE/iX 5.0 Documentation


HP COBOL II/XL Quick Reference Guide

ANNUITY 

The ANNUITY function (annuity immediate) returns a numeric value that is
the ratio of an annuity paid at the end of each period for the number of
periods specified by parameter-2 to an initial investment of one.
Interest is earned at the rate specified by parameter-1 and is applied at
the end of the period before the payment.  The function type is numeric.

Syntax 

     FUNCTION ANNUITY (parameter-1 parameter-2)

Parameters 

parameter-1           Must be class numeric and must be greater than or
                      equal to zero.

parameter-2           Must be a positive integer.



MPE/iX 5.0 Documentation