Hey guys!! How can you limit your random number generator to only produce 3-digit numbers? :D
Posted on 2008-08-14 06:21:22 by razzler
What does your random number generator generate now?
Posted on 2008-08-14 06:24:14 by JimmyClif
By supplying it a range?
Posted on 2008-08-14 18:15:41 by SpooK
What you need to do is SCALE the random values from their current range to their new range.
This can be thought of as a ratio if you don't understand what I mean by scaling.
Posted on 2008-08-15 02:29:12 by Homer