Name

NPer Function — Microsoft.VisualBasic.Financial

Synopsis

NPer(rate, pmt, pv [, fv [, due]])
rate required; Double

The interest rate per period.

pmt required; Double

The payment to be made each period.

pv required; Double

The present value of the series of future payments or receipts.

fv optional; Double

The future value of the series of payments or receipts. If omitted, the default value is 0.

due optional; DueDate enumeration

A value indicating when payments are due. DueDate.EndOfPeriod (0) indicates that payments are due at the end of the payment period, and DueDate. BegOfPeriod (1) indicates that payments are due at the beginning of the period. If omitted, the default value is 0.

Return Value

A Double indicating the number of payments

Description

Determines the number of payment periods for an annuity based on fixed periodic payments and a fixed interest rate.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.