Random
Generate a random number.
Returns a random number between 0 and the specified limit.
Usage
random(limit)
Returns
Integer: A number between 0 and limit-1.
Example
echo “Here’s a random number between 0 & 50 $(random(51))”;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified August 31, 2024: Signed-off-by: tracyragan <[email protected]> (20379ca)