6. Functions : Finance Library Functions : FV Function : Example—FV function:
 
Share this page                  
Example—FV function:
/*  Compute the future value of depositing $200 per
**  month for 5 years into an account paying 7.5% per
**  year.
*/
savings = fv(pmt = 200, i = .075/12, nper = 12 * 5);
if savings is NULL then
    message 'Failed to calculate Future Value';
endif;