Randomize ... is it random?

Thread: Randomize ... is it random?

1. Junior Member
Join Date
Dec 1969
Posts
15

Randomize ... is it random?

I need to generate a random number for a contest drawing.<BR><BR>I&#039;ve gotten the impression that Randomize isn&#039;t all that random... is that true?<BR><BR><BR><BR>This is the code I have so far that seems to be fine:<BR>Randomize <BR>strValue = Int((720 * Rnd) + 1)<BR>Response.Write (strValue)<BR><BR>Thanks.

2. Senior Member
Join Date
Dec 1969
Posts
999

NO it's not...

.....Its very difficult (nigh impossible) to generate a *truly* random number.<BR><BR>Randomize is just an approximation to randomness

3. Junior Member
Join Date
Dec 1969
Posts
15

RE: NO it's not...

..so <BR>... using it to select a number for the winner of a contest would be .... worse than/less random than cutting 720 numbers into little slips of paper and drawing from a hat?

4. Junior Member
Join Date
Dec 1969
Posts
15

Close enough?

I guess I&#039;d like to know if it&#039;s *close enough* for the task at hand?<BR>

5. Senior Member
Join Date
Dec 1969
Posts
999

RE: Close enough?

I would say so....altho I&#039;m sure you could get into a really interesting debate with a mathematics professor about the nature of randomness!<BR><BR>Just go for it, Id say....

6. Junior Member
Join Date
Dec 1969
Posts
15

Thank you

Ok! I will. <BR><BR>Thanks again. :-)

Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•