contents.gifprev1.gifnext1.gif

PMT() - Periodic payment amount

Calculates the amount of a periodic payment.

Returns

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

Arguments

Type
Field
Description
double
dPrincipal
Initial capital
double
dInt
Interest percentage
long
lTerm
Total number of periods
integer
iBasis
Value:
0 = end
1 = begin
16 bit DLL declarations

PowerBuilder Function declaration

function double PMT(double dPrincipal, double dInt, long lTerm, int iBasis) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function PMT lib "IFL16" (ByVal dPrincipal As Double, ByVal dInt As Double, ByVal lTerm As Long, ByVal iBasis As Integer) As Double

C/C++ Synopsis

#include "function.h"

double PMT(double dPrincipal, double dInt, long lTerm, int iBasis)

32 bit DLL declarations

PowerBuilder Function declaration

function double PMT(double dPrincipal, double dInt, long lTerm, int iBasis) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function PMT lib "IFL32" (ByVal dPrincipal As Double, ByVal dInt As Double, ByVal lTerm As Long, ByVal iBasis As Integer) As Double

C/C++ Synopsis

#include "function.h"

double PMT(double dPrincipal, double dInt, long lTerm, short sBasis)

Example:

dPrincipal
=
8,000

dInt
=
0.01167
(1.167%)
lTerm
=
36

iBasis
=
0

Result: $ 273.44