Loan Repayment Calculator

function term(){if((document.getElementById(’emi3′).value==null || document.getElementById(’emi3′).value.length==0) || (document.getElementById(‘rate3’).value==null || document.getElementById(‘rate3’).value.length==0) ||(document.getElementById(‘princ3’).value==null || document.getElementById(‘princ3’).value.length==0)) {document.getElementById(‘months3′).value=”Data Reqd.”;}else {var emi=document.getElementById(’emi3′).value; var princ=document.getElementById(‘princ3’).value;var term=document.getElementById(‘months3’).value;var intr=document.getElementById(‘rate3’).value / 1200;var time;
time =Math.round (((Math.log(emi/(emi -(princ*intr)))/Math.LN10)/(Math.log(1*1 + intr*1)/Math.LN10))*10)/10 ;
document.getElementById(‘months3’).value = time + ‘ months’ ;document.getElementById(‘gt3′).value= Math.round(document.getElementById(’emi3′).value*1 * time*1);document.getElementById(‘tintt3’).value=Math.round(document.getElementById(‘gt3’).value*1-princ*1);}}
function gadget(){document.getElementById(‘d1′).style.display=’block’;document.getElementById(‘box1′).style.display=’none’;}
// Widget Code by http://widgetcodes.com/

#outer{width:300px;background:#fff;text-align:center;}
#cover{border:2px solid #111;border-radius:7px;box-shadow:inset 0 0 13px #888;padding:7px 0}
.main{table-layout:fixed;width:94%;border:0;border-collapse:collapse;margin:0 auto;}
.main td{padding:0 8px;vertical-align:middle;text-align:left;border:0;font:500 11px arial}
.main input{width:96%;border:1px solid #ccc;margin:2px 0;padding:0 2%;height:17px;text-align:right;font:500 11px arial}
.main select{width:100%;border:1px solid #ccc;margin:2px 0;background:#fff;height:18px;font:500 11px arial}.w50{width:50%}.main button{width:100%;font:600 12px arial;margin:2px 0;}

Loan Repayment Time Calculator

Loan Amount

EMI

Interest Rate

Repayment in months

Interest pyable

Total payable

Leave a Reply

Your email address will not be published. Required fields are marked *