|
-
Sep 2nd, 2006, 02:08 AM
#1
Thread Starter
New Member
VB Calculation code
Hello I am new to VB and am teaching myself. I am wanting to perform a simple calculation. Two text boxes (one for a price and the other for a quantity) which will subsequently display a total price in a third text box. Two activate the total I will press a button called calculate. Can anyone help with this as I have a tried a few codes and am getting a coding error. I am using a dim statement for my variables: Dim price, qty, total As Double (is double the correct data type to use?) Please help Thank you
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
|