![]()
Picking a random number
The rand command generates a random floating point number. If you give one argument, it returns a number between 0 and the argument:
If you give two arguments, it returns a random number between the first and second arguments: