I know that the Random class has
NextInteger()
but in every other language I've learned there has been a method to generate a number in a range of
0 - 1
for example maybe it will generate 0.4 or 0.2
Is there a method or function to do this in lua
Any help is appreciated thank you :)

3 comments
The reason I'm posting this on here is the only thing I can find online pertains to the math.Random and that has been depreciated to my knowledge.
math.random(1, 100) * 0.01
or math.random(1,10) * 0.1 for 0.1-1