Discuss Scratch

chickenperson13
Scratcher
16 posts

Just a quick Question

HI,

Can i ask u something?
does this
(pick random (1) to (10))

only generate the numbers 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 or numbers like 8.96408640134 ect. ect. ?

Thanks in advance

A Fool Speaks Because He Has To, A Wise Man Speaks Because He Has Something To Say.
amgames
New to Scratch
100+ posts

Just a quick Question

If it's given only integers, it generates only integers. However,

(pick random (1) to (10.0))

generates numbers like 6.249847582, as 10.0 is a floating point number.

amgames
programmer ~ artist in training ~ pianist

Powered by DjangoBB