Demonstration APR calculator

This is a demonstration of the PHP APR calculator which is freely available under the General Public License. To calculate the APR for a loan you must at least enter the Principle (the amount of the loan), the number of payments to be made and the amount repaid each month.
This demonstration calls APR_Simple_Annuity function to calculate the APR. It is capable of determining the APR from -100% to 214,000,000,000% (although extreme APR values may be inaccurate). Should the APR calculator fail to generate a value it will display N/A% APR