Calculates the payment for a loan based on constant payments and a constant interest rate.
 | Rate | is the interest rate for the loan. |
 | Nper | is the total number of payments for the loan. |
 | Pv | is the present value, or the total amount that a series of future payments is worth now; also known as the principal. |
 | Fv | is the future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (the future value of a loan, for example, is 0). |
 | Type | is the number 0 or 1 and indicates when payments are due. If type is omitted, it is assumed to be 0. |