contents.gifprev1.gifnext1.gif

AAPR() - Add-on Interest

Add-on interest rate determines what portion of the principal will be added on as the finance charge for a loan.

Returns

Double value if successful. If an error occurs, this function returns a zero.

Arguments

Type
Field
Description
double
dInt
Interest rate
long
lTerm
Total number of months
integer
sPeriods
Number of periods per year
16-bit DLL declarations

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

Result: 0.0733 (7.33%)