Calculates the present value of a future amount using compound interest.
The future value to discount.
The interest rate (as a decimal, e.g., 0.05 for 5%).
The number of periods until the payment.
The present value.
Calculates the present value of a future amount using compound interest.