Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 269 Bytes

randomInt.md

File metadata and controls

12 lines (8 loc) · 269 Bytes

Back to reference

randomInt(low, high)

Returns a random integer number between low and high.

Example:

Get a random integer number between 2 and 4. The result will be 2, 3 or 4.

let n = gmynd.randomInt(2, 4);