This class is made by Enrique Garcia to move excel functions into php class. This is very powerful to help develop web based financial system. The functions comprise FV (Future Value), PV (Present Value), PMT (Payment), NPER (Number of Periode), etc.
This class can be downloaded from phpclass.com or here (12kb) including an example file.