"); // output.writeln(""); // output.writeln("
"); // output.writeln(""); // output.close() } function resetprices() { otherprice = "0.00"; price1 = ""; update(otherprice,price1); } function calculatetwo(obj) { if (document.forms[0].elements[3].value != ""){ temp = amount*(Math.pow((1+(rate/(100))*period),1)); } else{ temp = amount*(Math.pow(1+(rate/(100)),period)); } var tempxx = Math.round(temp*100)/100 //var tempxx = Math.round(temp)/100; obj.finalamount.value = tempxx; if (document.forms[0].elements[3].value != ""){ tempx = amount*(Math.pow((1+(otherbankrate/(100))*period),1)); } else{ tempx = amount*(Math.pow(1+(otherbankrate/(100)),period)); } var tempother = Math.round(tempx*100)/100 obj.finalamounttwo.value = tempother; graphper = 100*((tempother-amount)/(tempxx-amount)); obj.finalamountgraph.value = graphper; } function calculatethree(obj) { if (document.forms[0].elements[3].value != ""){ temp = amount*(Math.pow((1+(rate/(100))*period),1)); } else{ temp = amount*(Math.pow(1+(rate/(100)),period)); } var tempxx = Math.round(temp*100)/100 //var tempxx = Math.round(temp)/100; obj.finalamount.value = tempxx; if (document.forms[0].elements[3].value != ""){ tempx = amount*(Math.pow((1+(otherbankrate/(100))*period),1)); } else{ tempx = amount*(Math.pow(1+(otherbankrate/(100)),period)); } var tempother = Math.round(tempx*100)/100 obj.finalamounttwo.value = tempother; graphper = 100*((tempother-amount)/(tempxx-amount)); obj.finalamountgraph.value = graphper; } function showpricetwo(obj) { otherprice = obj.finalamount.value; otherprice = add_comma(otherprice); price1 = ""; update(otherprice,price1); } var digits = "0123456789"; var digitsdot = "0123456789."; function computetwo(obj) { if (document.forms[1].elements[0].value == ""){ alert('Please enter Initial Investment amount'); document.forms[1].elements[0].focus(); return; } for (var i = 0; i
Initial Savings Amount: £undefined | ||
Gross interest earned: | ANGLO IRISH BANK £NaN.00 |
CURRENT BANK £n/a |