Calculates the number of periods required by an investment to reach a specified value.
Rate is the interest rate per period.
The present value of the investment.
The future value of the investment.
the number of periods required
if rate is less than or equal to zero
rate
if pv is zero
pv
pduration(0.025, 2000, 2200); // 3.86 Copy
pduration(0.025, 2000, 2200); // 3.86
Calculates the number of periods required by an investment to reach a specified value.