Create an annuity.
The principal. (p>0
)
The contribution per period. (pmt>0
)
The interest rate per period. (i>0
)
The number of periods. (n is an integer and n>0
)
Optional
options: { The options object.
Optional
type?: "immediate" | "due"The type of annuity.
Optional
optionsOptional
type?: "immediate" | "due"
An annuity is a series of payments made at equal intervals.