Contents:
Calculate present value of a future amount.
future_value (float) – Future value amount.
rate (float) – Annual interest rate (as decimal).
periods (int) – Number of periods.
compounding_frequency (int, default 1) – Number of times interest is compounded per period.
Present value.
float
Examples
>>> present_value(1628.89, 0.05, 10) 1000.0