It was JACK himself that once showed me how to work floating-point random numbers, in the range 0 to 1, Jack - step in here anytime:

Code:

for $i = 0 to 20
?"rnd=" 0.001 * rnd(1000)
next