Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

Computing Future Value

Question:
I am trying to make a financial calculator that will compute Future Value, but I don't know how to write code for compounded interest.

Answer:
I believe you want to use the PV function, which is documented in the Help File. I've included it here also.

PV Function

Returns the present value of an annuity based on periodic, constant payments to be paid in the future and a constant interest rate.

Syntax

PV(rate, nper, pmt[, fv[, type]])
The PV Function is also available in VB4.0. There is a good example code snippet in the help file entry on the subject. Simply search the helpfile for "PV".
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date