^math:random(upper_limit)
The method returns a random number, which is taken from the range starting with 0 and ending with the number specified in upper_limit (the number given as upper_limit is not included in the range).
Note: In some systems it outputs a pseudorandom number.
Example ^math:random(1000)
The code returns a random number from the range starting with 0 and ending with 999.