I need to have the javascript below converted to PHP with all the variables to calculate the contained in a config file so that changes in rates can be changed quickly.
Thanks
Pat
Javascript File
Loan Calculator
Interest and Repayment Calculator
Totals are approximate and for guidance only.
Enter data in panels.
Click Calculate in order to view results.
Follow the numerical order.
Your information will not be sent on-line
1
What is your current loan balance
2
What amount do you wish to borrow?
3
The loan is for
year(s).
4
How often will you make repayments?
5
Results
Total loan balance:
*Total repayment
(principal and interest):
Minimum payment per period:
First interest charge:
6
*As interest is calculated on the declining
balance, this figure can be considerably lower
if repayments are regular and on time.
We are no longer accepting applications for this project.