You've doubtless made good use of this Scratch block.
Javascript has a similar feature, but it always returns a random number which is somewhere between zero and one (including zero, but excluding one). You use it like this:
0.19287346 0.5243 0.993873 0.00003873It might even be zero, but it will never be exactly one.
|