

PMT() - Periodic payment amount
| Type
| Field
| Description
|
| double
| dPrincipal
| Initial capital
|
| double
| dInt
| Interest percentage
|
| long
| lTerm
| Total number of periods
|
| integer
| iBasis
| Value:
0 = end 1 = begin |
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
|
|