I need to generate random float in Lua. It needs to be > 1, so math.random() is not a solution.
How can I do this?
This should generate random floats between 1 (inclusive) and 100 (exclusive)
math.random() + math.random(1, 99)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With