

AAPR() - Add-on Interest
| Type
| Field
| Description
|
| double
| dInt
| Interest rate
|
| long
| lTerm
| Total number of months
|
| integer
| sPeriods
| Number of periods per year
|
PowerBuilder Function declaration
function double AAPR(double dInt, long lTerm, int sPeriods) library "IFL16.DLL"
Visual Basic Function declaration
Declare Function AAPR lib "IFL16" (ByVal dInt As Double, ByVal lTerm As Long, ByVal sPeriods As Integer) As Double
C/C++ Synopsis
#include "function.h"
double AAPR(double dInt, long lTerm, int sPeriods)
32-bit DLL declarations
PowerBuilder Function declaration
function double AAPR(double dInt, long lTerm, int sPeriods) library "IFL32.DLL"
Visual Basic Function declaration
Declare Function AAPR lib "IFL32" (ByVal dInt As Double, ByVal lTerm As Long, ByVal sPeriods As Integer) As Double
C/C++ Synopsis
#include "function.h"
double AAPR(double dInt, long lTerm, short sPeriods)
Example:
| dInt
| =
| 0.135
| (13.5%)
|
| lTerm
| =
| 24
|
|
| sPeriods
| =
| 12
|
|