Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Future value calculation

Status
Not open for further replies.

pjb

Programmer
May 1, 2001
148
US
I need script code to calculate future value. My inputs are present value, interest rate and number of years.

Thanks
 
// assumption here is that interest rate of 8% is stored as .08
lr_future_value = lr_present_value * (1 + lr_interest rate) ^ lr_years
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top