

PMTT() - Loan with constant amount towards principal
| Type
| Field
| Description
|
| double
| dPrincipal
| Loan principal
|
| double
| dConstant
| Constant repay amount
|
| double
| dInt
| Periodic interest rate
|
| long
| lPeriods
| Total number of periods
|
PowerBuilder Function declaration
function double PMTT(double dPrincipal, double dConstant, double dInt, long lPeriods) library "IFL16.DLL"
Visual Basic Function declaration
Declare Function PMTB lib "IFL16" (ByVal dPrincipal As Double, ByVal dConstant As Double, ByVal dInt as Double, ByVal lPeriods As Long) As Double
C/C++ Synopsis
#include "function.h"
double PMTT(double dPrincipal, double dConstant, double dInt, long lPeriods)
32 bit DLL declarations
PowerBuilder Function declaration
function double PMTT(double dPrincipal, double dConstant, double dInt, long lPeriods) library "IFL32.DLL"
Visual Basic Function declaration
Declare Function PMTB lib "IFL32" (ByVal dPrincipal As Double, ByVal dConstant As Double, ByVal dInt as Double, ByVal lPeriods As Long) As Double
C/C++ Synopsis
#include "function.h"
double PMTT(double dPrincipal, double dConstant, double dInt, long lPeriods)
Example:
| dPrincipal
| =
| 60,000
|
|
| dConstant
| =
| 5000
|
|
| dInt
| =
| 0.05
| (5%)
|
| dPeriods
| =
| 2
|
|