Tray to multiply first.I know i could get to the correct value using the following equation
Rnd1 = (Rnd0.byte0 / 255) * lim
That one wont work though because it will be rounded to 0 or 1 when dividing.
Rnd1 = (Rnd0.byte0 * lim)/ 255 [which is the same as Rnd1 = (Rnd0 */ lim)]
Al.
Bookmarks