The PAYMENT function calculates the amount due in each payment period to reach the future value by the end of the term.
If you know the rate, term, present value, future value and type of a savings scheme or loan you can use the PAYMENT function to work out the amount to apply in each payment period to reach the full amount.
Function name |
PAYMENT |
Usage model | PAYMEMENT ( rate:NUM, term:NUM, present value:NUM,future value:NUM, type:NUM ) |
Parameters | This function requires you to replace two of five parameters (three are optional): |
rate: NUM |
The function uses this value as the interest rate per payment period. |
term: NUM |
The function uses this value as the total number of payment periods. |
present value: NUM |
(Optional) This value represents the current value of the future amount; the default is zero. |
future value: NUM |
(Optional) This represents the value after the last payment period, the default is zero. |
type: NUM |
(Optional) This value can be entered as a 0 or a 1, 0 meaning payments are due at the end of a payment period and 1 meaning payments are due at the beginning of a payment period. The default is zero. |
Result | A number value. |
After you download the example template, you can import the template to any workspace to see this example code in action.