Answers for "sum is not working in js"

0

sum is not working in js

First Parse Variables into Number
var amountBorrowed = Number(document.form.amountBorrowed.value);
var interest = Number(document.form.interest.value) / 100;
var payments = Number(document.form.durationOfPayment.value);
var monthInterest = Number(document.form.interestPerMonth.value);
var totalInt = Number(document.form.totalinterest.value);
Posted by: Guest on August-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language