Returns the payment on the principal for a specified period.

Namespace: Imsl.Finance
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static double Ppmt(
	double rate,
	int period,
	int nper,
	double pv,
	double fv,
	Finance..::.Period time
)
Visual Basic (Declaration)
Public Shared Function Ppmt ( _
	rate As Double, _
	period As Integer, _
	nper As Integer, _
	pv As Double, _
	fv As Double, _
	time As Finance..::.Period _
) As Double
Visual C++
public:
static double Ppmt(
	double rate, 
	int period, 
	int nper, 
	double pv, 
	double fv, 
	Finance..::.Period time
)

Parameters

rate
Type: System..::.Double
A double which specifies the interest rate.
period
Type: System..::.Int32
A int which specifies the payment period.
nper
Type: System..::.Int32
A int which specifies the total number of periods.
pv
Type: System..::.Double
A double which specifies the present value.
fv
Type: System..::.Double
A double which specifies the future value.
time
Type: Imsl.Finance..::.Finance..::.Period
The time of a Period when the payment is made (either AtEnd or AtBeginning).

Return Value

A double which specifies the payment on the principal for a given period.

Remarks

It is computed using the following:

{\it payment}_i  - {\it interest}_i

where {\it payment}_i is computed from pmt for the i-th period, {\it interest}_i
            is calculated from Ipmt for the i-th period.

See Also