Issue
I am making a SIP Calculator for website/blog. But don't know how should I start. I have created a basic html CSS version but don't know how to calculate the numbers.
Solution
  var investment = 800; //principal amount
  var annualRate = 2; 
  var monthlyRate = annualRate / 12 / 100;  //Rate of interest
  var years = 30; 
  var months = years * 12;  //Time period 
  var futureValue = 0; //Final Value
  futureValue = investment * (Math.pow(1 + monthlyRate, months) - 1) / 
monthlyRate;
SIP is nothing but just Compound interest amount on Principal amount.
Answered By - Prakhar Mittal
 
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.