random-float

From The K Language Wiki
Random-float
?a

The random float primitive takes a single integer argument a and produces a list of a random floats from 0 up to but excluding 1.

random float does not operate on arrays, and only accepts a single value.

  ?6
0.197 0.8382 0.1811 0.9084 0.6113 0.1958