|
-
Jul 1st, 2008, 12:21 PM
#1
Thread Starter
New Member
Random Number that is Mulitple
I want to generate a number between 10 and 300, but this number has to be a multiple of 10. For example: 50, 180. I've already scoured Google and IRC for this answer but no one is helping out, so you guys are my last resort I'm quite new to VB, and i'm trying to make a game at the moment. Hope you guys can help!
-
Jul 1st, 2008, 12:40 PM
#2
Re: Random Number that is Mulitple
Generate a random number between 1 and 30 .... then multiply by 10...
-tg
-
Jul 1st, 2008, 12:43 PM
#3
Thread Starter
New Member
Re: Random Number that is Mulitple
Gack! Of course, I did 1 - 3 and multiplied by 100, but didn't think of that. How ridiculously stupid of me.
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
|