Fórmula de valor presente JS

function PV(rate, nper, pmt)
{
    return pmt / rate * (1 - Math.pow(1 + rate, -nper));
}
Philan ISithembiso