@lelantos-org/sdk / core / randomFloat01
Function: randomFloat01() โ
ts
function randomFloat01(): number;Defined in: @lelantos-org/sdk/dist/core/random.d.ts:23
Uniform float in [0, 1) with 56 bits of entropy.
For a random index use randomBelow instead: scaling this by n gives unequal buckets unless n is a power of two.
Returns โ
number