random(low,high)
Description
Random() returns a randomly generated value between two points. This function is not cryptographically secure
Parameters
Random() can be run with no parameters if you want to generate a random number between 0 and 1, or you can give it the low and high bounds for the random number you cant to generate.
Usage
log random()
// 0.3031749628253999
log random(1,10)
// 4
Last updated
Was this helpful?