klyn.math.Random.randInt
method
public static randInt(min as Long, max as Long) as Long:
Description
Returns a random long integer in [min, max]. ticket = Random.randInt(1l, 1_000_000l) print(ticket)
Parameters
  • min Lower bound.
  • max Upper bound.
Returns
A random long integer between `min` and `max` (inclusive).
Example