The PV formula on Google Sheets can take 3, 4, or 5 parameters. I am trying to calculate the present value given the parameters in JavaScript but cannot seem to figure out or find the formula that Google Sheets is using. The PV formula on Google Sheets can take 3, 4,