pDuration-func
Minimum Origin Version Required: 2019 SR0
This function is used to calculate the number of periods required by an investment to reach a specified value, given the interest rate per period rate, the present value Pv and the future value of the investment Fv.
double pDuration( double rate, double pv, double fv)
rate
pv
fv
pDuration(0.025,1000,1500)= // returns 16.42 years
Nominal, RRI, Effect,