View Single Post
Old Mar 1st, 2008, 11:22 AM   #6
Alias
Newbie
 
Join Date: Oct 2007
Posts: 29
Rep Power: 0 Alias is on a distinguished road
Re: Patterned returns with Math.random()

Personally I would encapsulate the RNG in a class of its own in which it should be constantly generating numbers by the second, then use a method to get the latest generated number - not exactly a solution to your problem but certainly a more appropriate way of returning seemingly random numbers.

Alias
Alias is offline   Reply With Quote