Random Numbers, can they be made more random?

Results 1 to 2 of 2

Thread: Random Numbers, can they be made more random?

  1. #1
    Join Date
    Dec 1969
    Posts
    511

    Default Random Numbers, can they be made more random?

    I&#039m using alot of random numbers but I&#039ve noticed that they tend not to be as random as I&#039d like, the same number is often called up several time in a row.<BR><BR>Are there any ways of making random numbers more random? I&#039m using the numbers as a dice throw so I only want number between 1-6 heres what I&#039ve been using so far:<BR><BR>Int(6*Rnd) + 1<BR><BR>Thanks<BR><BR>Pete

  2. #2
    Jairo Guest

    Default RE: Random Numbers, can they be made more random?

    Pete,<BR><BR>Place a Randomize statement right before you call your Rnd generator.<BR><BR>HTH,<BR>Jairo<BR>http://www.citywebarchitects.com

Posting Permissions

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