PresentValueToAnnuity

The PresentValueToAnnuity built-in Glb.Financial method calculates the present value required to produce the annuity for the specified number of time units, leaving a future value of zero.

The following calculation is used:

Refer to Glb.Financial Built-In Methods for more information on designations used in this calculation.

Failure behavior

The PresentValueToAnnuity method can return an inconsistent result if an error occurs. The Glb.Status built-in segment attribute should be verified before the result is used.

If assigning the result to a signed number-primitive variable, truncation of significant digits occurs without warning if it is not of a sufficient length.

Syntax

Glb.Financial::PresentValueToAnnuity(
   annuity : numericExpression,
   interestRate : numericExpression,
   timeUnits : numericExpression) : numericLiteral

Owner

Glb.Financial.

Return type

A number-primitive, length and decimal properties of which can vary. As a guideline, the internal intermediate work files are stored as USAGE COMP-2, and rounded on output.

Parameters