Click or drag to resize
FinanceNper Method
Returns the number of periods for an investment for which periodic, and constant payments are made and the interest rate is constant.

Namespace: Imsl.Finance
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static double Nper(
	double rate,
	double pmt,
	double pv,
	double fv,
	FinancePeriod period
)

Parameters

rate
Type: SystemDouble
A double which specifies the interest rate.
pmt
Type: SystemDouble
A double which specifies the payment.
pv
Type: SystemDouble
A double which specifies the present value.
fv
Type: SystemDouble
A double which specifies the future value.
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 int which specifies the number of periods for an investment.
Remarks
It can be found by solving the following:

If rate = 0,

{\it pv} 
            + {\it pmt} \times {\it nper} + {\it fv} = 0

If rate \ne 0,

{\it 
            pv} (1 + {\it rate})^{\it nper}  + {\it pmt} \left[ {1 + {\it rate} 
            \left( {\it period} \right)} \right] {{(1 + {\it rate})^{\it nper}  
            - 1} \over {\it rate}} + {\it fv} = 0

See Also