|
-
February 20th, 2000, 09:45 PM
#1
Basic
I need help in code for basic math like
add
subtract
multiply
division
Thanks in Advance
Donny S.
-
February 21st, 2000, 03:46 AM
#2
Re: Basic
>I need help in code for basic math like
>add
>subtract
>multiply
>division
How about:
Dim a as Integer
Dim b as Integer
'
a = 5
b = 6
'
MsgBox "a+b = " & (a+b)
MsgBox "b-a = " & (b-a)
MsgBox "a*b = " & (a*b)
MsgBox "a/b = " & (a/b)
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
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
|