Am 05.02.2016 um 03:49 schrieb Mike Horvath:
> So should I use int or floor? The result is different for numbers below
> zero.
In your case you want floor(); otherwise, if your interval includes 0,
too many random numbers will be mapped to 0, and not enough random
numbers will be mapped to 0.
Post a reply to this message
|