

IANN() - Increasing annuities
| Type
| Field
| Description
|
| double
| dPayment
| Periodic payment amount
|
| double
| dInt
| Annual interest rate
|
| long
| lPerYr
| Number of payments per year
|
| long
| lPer
| Number of periods before payment increases
|
| double
| dIntIncr
| Percentage of each increase
|
| long
| lYear
| Total number of years
|
| integer
| iBasis
| Valid values:
0 = present 1 = future |
PowerBuilder Function declaration
function double IANN(double dPayment, double dInt, long lPerYr, long lPer, double dIntIncr, long lYear, int iBasis) library "IFL16.DLL"
Visual Basic Function declaration
Declare Function IANN lib "IFL16" (ByVal dPayment As Double, ByVal dInt As Double, ByVal lPerYr As Long, ByVal lPer As Long, ByVal dIntIncr As Double, ByVal lYear As Long, ByVal iBasis As Integer) As Double
C/C++ Synopsis
#include "function.h"
double IANN(double dPayment, double dInt, long lPerYr, long lPer, double dIntIncr, long lYear, int iBasis)
32 bit DLL declarations
PowerBuilder Function declaration
function double IANN(double dPayment, double dInt, long lPerYr, long lPer, double dIntIncr, long lYear, int iBasis) library "IFL32.DLL"
Visual Basic Function declaration
Declare Function IANN lib "IFL32" (ByVal dPayment As Double, ByVal dInt As Double, ByVal lPerYr As Long, ByVal lPer As Long, ByVal dIntIncr As Double, ByVal lYear As Long, ByVal iBasis As Integer) As Double
C/C++ Synopsis
#include "function.h"
double IANN(double dPayment, double dInt, long lPerYr, long lPer, double dIntIncr, long lYear, short sBasis)
Example:
| dPayment
| =
| 110
|
|
| dInt
| =
| 0.115
| (11.5%)
|
| lPerYr
| =
| 12
|
|
| lPer
| =
| 12
|
|
| dIntIncr
| =
| 0.055
| (5.5%)
|
| lYear
| =
| 20
|
|
| iBasis
| =
| 0
|
|