Quantcast
Channel: w3mentor » Object oriented Javascript
Viewing all articles
Browse latest Browse all 10

Create a Monthly Auto Loan Payment Calculator in Javascript

$
0
0
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>JavaScript - Loan Calculator</title> </head>   <script language="JavaScript"> function calculateLoan() { nMon = document.form1.txtNumerOfMonths.value; iRate = document.form1.txtInterestRate.value; aFinanced = document.form1.txtAmountFinanced.value; mPayment = (iRate * aFinanced)/ nMon;   alert('Your monthly payment would be $ ' + Math.round( mPayment ) );   }   </script>     </head> […]
Continue reading...

Viewing all articles
Browse latest Browse all 10

Trending Articles