Skip to main content


Returns a random number between two bounds.


This variable takes two required parameters. The first parameter is the lower bound, and the second parameter is the upper bound of which a random number is generated in-between.

Example Output

  • $(randint 1 5)


Error Output

  • In case an incorrect number of parameters is provided, returns the following:

    [Error: Usage: $(randint 1 30).]