Returns the present value of an investment that will pay off p for n consecutive periods, assuming an interest r.
The optional argument l may be used to specify an additional lump-sum payment made at the end of n periods.
The optional argument method may be used to specify whether
payments are made at the end ("e"
, default) or at the
beginning ("b"
) of each period.
Note that the rate r is specified as a fraction (i.e., 0.05, not 5 percent).
See also: pmt, nper, rate, npv.
Package: financial