I need to calculate the present value equivalent to the Excel formula, I have the following data:
VP (2.5%; 48; -2052.50) that excel does not return me the value of 57,000.00 rounding down.
Can anyone help with this in javascript?
I tried to use this function I found, but it did not work.
function PV(rate, nper, pmt)
{
return pmt / rate * (1 - Math.pow(1 + rate, -nper));
}