Return to Snippet

Revision: 46270
at May 16, 2011 02:49 by vinotht


Initial Code
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;

}

Initial URL

                                

Initial Description
Calculating Compound Interest. Real time [Compound Interest Calculator](http://ncalculators.com/interest/compound-interest-calculator.htm "Real time result")

Initial Title
Compound Interest

Initial Tags
javascript

Initial Language
JavaScript