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 8 years ago by rvomedia.