Calculates the present value of an annuity investment based on constant-amount periodic payments and a constant interest rate.
The interest rate. For example: 2%.
The number of payments to be made. For example: 12.
The amount per period to be paid. For example: -100. If payment_value is omitted, you must include the future_value argument.
The future value remaining after the final payment has been made. For example: 0. If future_value is omitted, it is assumed to be 0 (zero), and you must include the payment_amount
Whether the payments are due at the end (0) or beginning (1) of each period. For example: 0 or 1. The default type is 0.