Click or drag to resize
FinanceCumprinc Method
Returns the cumulative principal paid between two periods.

Namespace: Imsl.Finance
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static double Cumprinc(
	double rate,
	int nper,
	double pv,
	int firstPeriod,
	int lastPeriod,
	FinancePeriod time
)

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 which specifies the first period in the calculation. Periods are numbered starting with one.
lastPeriod
Type: SystemInt32
A int which specifies the last period in the calculation.
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 cumulative principal paid between the first period and the last period.
Remarks
It is computed using the following:

\sum\limits_{i = {\it firstPeriod}}^{\it 
            lastPeriod} {\it principal}_i

where {\it principal}_i is computed from Ppmt for the i-th period.
See Also