Returns the payment on the principal for a specified period.
Namespace: Imsl.FinanceAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic static double Ppmt(
double rate,
int period,
int nper,
double pv,
double fv,
FinancePeriod time
)
Public Shared Function Ppmt (
rate As Double,
period As Integer,
nper As Integer,
pv As Double,
fv As Double,
time As FinancePeriod
) As Double
public:
static double Ppmt(
double rate,
int period,
int nper,
double pv,
double fv,
FinancePeriod time
)
static member Ppmt :
rate : float *
period : int *
nper : int *
pv : float *
fv : float *
time : FinancePeriod -> float
Parameters
- rate
- Type: SystemDouble
A double which specifies the interest rate.
- period
- Type: SystemInt32
A int which specifies the payment period.
- nper
- Type: SystemInt32
A int which specifies the total number of periods.
- pv
- Type: SystemDouble
A double which specifies the present value.
- fv
- Type: SystemDouble
A double which specifies the future value.
- time
- Type: Imsl.FinanceFinancePeriod
The time of a Period when the payment is made (either
AtEnd or AtBeginning).
Return Value
Type:
Double
A
double which specifies the payment on the principal for a
given period.
Remarks
It is computed using the following:
where
is computed from
pmt for the i-th period,
is calculated from Ipmt for the i-th
period.
See Also