I'm converting some fairly complex calculations from an Excel spreadsheet to PHP. I'm stuck on the conversion of Excel's FV function, which is defined like this:
FV( interest_rate, number_payments, payment, PV, Type )
I've been working on this for 2 hours and I'm definitely missing something. Essentially, I need to copy this functionality into an equivalent PHP function, taking all the parameters mentioned above.
Any help would be very appreciated.
Slightly modify the PHPExcel function library:
Return 85.818510876629
// unit test