|
-
Mar 9th, 2003, 03:27 PM
#1
Thread Starter
Hyperactive Member
random number?
please i want to generate random numbers between 1 and 52,i was using someting like this:
randomize
x=int((p)*rnd)
but wasn't getting the desired results
the rnd is not in this format:- 0.rrr ie i just need the three digits after the decimal.
i was seeing something like :-0.rrrrrrrrrrrrrrr and some in negative exponent.i need numbers between 1 and 52 shuffled randomly
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
|