-
Notifications
You must be signed in to change notification settings - Fork 759
Rand
Haru edited this page Oct 19, 2016
·
1 revision
- rand(<number></number>{,<number></number>});
This function returns a number, randomly positioned between 0 and the number you specify (if you only specify one) and the two numbers you specify if you give it two.
[[set]] .number,rand(10); // Gives Output between 0 to 10 (0,1,2,3,4,5,6,7,8,9,10) [[set]] .number,rand(2,10); // Gives Output between 2 to 10 (2,3,4,5,6,7,8,9,10)