OverviewExamples
random_num = Math.Random();
Generates a random value between 0 and 1 (inclusive) and stores the result in the variable "random_num."
random_num2 = Math.Random(20);
Generates a random number between 1 and 20 (inclusive) and stores the result in the variable "random_num2."
random_num3 = Math.Random(20, 100);
Generates a random number between 20 and 100 (inclusive) and stores the result in the variable "random_num3."
See also: Related Actions