Returns the cumulative interest paid between two periods.
Namespace: Imsl.FinanceAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic static double Cumipmt(
double rate,
int nper,
double pv,
int firstPeriod,
int lastPeriod,
FinancePeriod period
)
Public Shared Function Cumipmt (
rate As Double,
nper As Integer,
pv As Double,
firstPeriod As Integer,
lastPeriod As Integer,
period As FinancePeriod
) As Double
public:
static double Cumipmt(
double rate,
int nper,
double pv,
int firstPeriod,
int lastPeriod,
FinancePeriod period
)
static member Cumipmt :
rate : float *
nper : int *
pv : float *
firstPeriod : int *
lastPeriod : int *
period : FinancePeriod -> float
Parameters
- rate
- Type: SystemDouble
A double which specifies the interest rate.
- nper
- Type: SystemInt32
A int which specifies the total number of payment periods.
- pv
- Type: SystemDouble
A double which specifies the present value.
- firstPeriod
- Type: SystemInt32
A int containing the first period in the caclulation. Periods
are numbered starting with one.
- lastPeriod
- Type: SystemInt32
A int which specifies the last period in the calculation.
- period
- Type: Imsl.FinanceFinancePeriod
A int which specifies the time in each period when the payment
is made, either AtEnd or
AtBeginning
Return Value
Type:
Double
A
double which specifies the cumulative interest paid between
the first period and the last period.
Remarks
It is computed using the following:
where

is computed from
Ipmt
for the
i-th period.
See Also