Title: Future Value formula
Last modified: November 10, 2016

---

# Future Value formula

 *  Resolved [rvomedia](https://wordpress.org/support/users/rvomedia/)
 * (@rvomedia)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/future-value-formula/)
 * Hello,
 * First of all i’d like to say this plugin is amazing and has saved me so much 
   time on a project.
 * I’d like to know how to modify the formula for calculating the loan repayment.
 * is it possible to implement the Future Value (FV) formula?
 * where total repayable becomes = AmountBorrowed * (1+interestPercentage)^numberOfMonths
 * Hello,
 * First of all i’d like to say this plugin is amazing and has saved me so much 
   time on a project.
 * I’d like to know how to modify the formula for calculating the loan repayment.
 * is it possible to implement the Future Value (FV) formula?
 * where total repayable becomes = AmountBorrowed * (1+interestPercentage)^numberOfMonths
 * e.g. 500k for a period of 6 months, will be calculated as: 500000 * (1+0.04)^
   6
 * making the total: 632,659.51
 * then the monthly payments will be total/numberOfMonths
 * then the monthly payments will be total/numberOfMonths
    -  This topic was modified 9 years, 6 months ago by [rvomedia](https://wordpress.org/support/users/rvomedia/).
    -  This topic was modified 9 years, 6 months ago by [rvomedia](https://wordpress.org/support/users/rvomedia/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [rvomedia](https://wordpress.org/support/users/rvomedia/)
 * (@rvomedia)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/future-value-formula/#post-8417502)
 * figured it!
 * Edited the code in quick-interest-slider.js from line 348 to:
 *  /*var primary = principal * (parseFloat(rates.primary) * .01);
    var primarytotal
   = principal + primary;*/ **var primary = parseFloat(rates.primary) \* .01;** 
   var secondary = principal * (parseFloat(rates.secondary) * .01); var secondarytotal
   = principal + secondary;
 *  /*
    Compare trigger */ var rate = ((term >= rates.trigger)? rates.secondary:
   rates.primary); // var interest = ((term >= rates.trigger)? secondary:primary);**
   var interest = primary; var total = principal \* Math.pow((1 + interest),term);//
   var repayment = (principal + interest) \* rates.periodstep / term; var repayment
   = total / term;
    -  This reply was modified 9 years, 6 months ago by [rvomedia](https://wordpress.org/support/users/rvomedia/).

Viewing 1 replies (of 1 total)

The topic ‘Future Value formula’ is closed to new replies.

 * ![](https://ps.w.org/quick-interest-slider/assets/icon-128x128.png?rev=1730937)
 * [Quick Interest Slider](https://wordpress.org/plugins/quick-interest-slider/)
 * [Support Threads](https://wordpress.org/support/plugin/quick-interest-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-interest-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-interest-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-interest-slider/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [rvomedia](https://wordpress.org/support/users/rvomedia/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/future-value-formula/#post-8417502)
 * Status: resolved