|
-
Dec 23rd, 2001, 07:15 PM
#1
Easy one but can't find it...
heyz,
I know this is an easy one but I'm just learning vb, comming from c++, and I can't find how to get this:
5/2 --> 1
5/3 --> 2
So it just returns the remainder..
Thx & Greetz,
FiRe7
-
Dec 23rd, 2001, 07:19 PM
#2
PowerPoster
Hi
The Mod funtion is what u are looking for.
X = 5 Mod 2
Regards
Stuart
-
Dec 23rd, 2001, 07:28 PM
#3
thx beachbum
thx man 
knew it was something with mod.. mod(5/2) didn't work.. grmbl 
anyway...
thx
Greetz,
FiRe7
Merry Christmas and a Happy Newyear
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
|