/ Published in: JavaScript
Calculating Compound Interest. Real time [Compound Interest Calculator](http://ncalculators.com/interest/compound-interest-calculator.htm "Real time result")
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function(year,amount,interest,frequency){ var compound_int=0; var interest1=parseFloat(interest/(frequency*100)); var val=parseInt(amount)*Math.pow((1+interest1),(frequency*year)); return val; }