RE: Random Number Generation
Computers uses the system cloc to generate random numbers. Its passed through a formula that leaves just one number between 0 and 1 that can then be multiplied to make a number between it and 0.
eg.
0.8678289757574522 x 10 (this will be your maximum) = 8.678289757574522
round it down then and your left with 8.
The bold number was randomly generated.
This post was edited on 08-21-2006 at 03:11 AM by Bolter99.
|