rand Function

Returns a random number between the minimum and maximum boundries.

Summary

ElementFunction
ReturnsNumber

Arguments

minNumberMinimum boundry of the number.
maxNumberMaximum boundry of the number. (default) 9

Example

nano.rand(0, 99);