|
-
Mar 25th, 2002, 12:05 PM
#1
Thread Starter
New Member
Future Value of an Investment
I am in need of VB code that will return the future value of simple investment. This is for Intro VB class assignment.
Problem: Enter an Initial investment value in txtBox, have an hsb for years- The problem states "compound in years, not monthly" (not very practical, huh?), and an hsb for the intrest rate paid into the account. I can't find a VB function that doesn't use the " pmt" argument, and because no subsequent deposits or withdrawls are made to the account after the initial investment, I don't need a Pmt argument.
When I use this Code- "fv(rate,nper,pmt,pv,type)" with "pmt" and "type" =0, I always get "0" returned as the Future Value.
Does anyone know what I'm doing wrong?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|