Formula nilai sekarang JS

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