Since math.random
returns integers, you can return decimals just by doing a little math
return math.random(1,100)/100
will return a random number between 0.1 and 1, up to 2 digits long.
Since math.random
returns integers, you can return decimals just by doing a little math
return math.random(1,100)/100
will return a random number between 0.1 and 1, up to 2 digits long.