Expression Language Reference
    Preparing search index...
    • Returns the number of periods for an investment.

      Category: Financial

      Parameters

      • rate: any

        The interest rate per period.

      • pmt: any

        The payment made each period; it cannot change over the life of the annuity. Typically, pmt contains principal and interest but no other fees or taxes.

      • pv: any

        The present value, or the lump-sum amount that a series of future payments is worth right now.

      • fv: any

        Optional. The future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (the future value of a loan, for example, is 0).

      • type: any

        Optional. The number 0 or 1 and indicates when payments are due.

      Returns number | Error