Thursday, July 3, 2014

Javascript Function To calculate Effective RATE

//Function To calculate Effective RATE

function RATE(annualrate, nper) {
    var rate;
    annualrate = 1 + (annualrate / 100);
    rate = parseFloat(Math.pow(annualrate, 1 / nper) - 1)
    return (rate);
}

No comments:

Post a Comment