1First Parse Variables into Number
2var amountBorrowed = Number(document.form.amountBorrowed.value);
3var interest = Number(document.form.interest.value) / 100;
4var payments = Number(document.form.durationOfPayment.value);
5var monthInterest = Number(document.form.interestPerMonth.value);
6var totalInt = Number(document.form.totalinterest.value);
7