How To: Obtain a Random Number
Page 1 of 1
How To: Obtain a Random Number
If you wish to obtain a random number depending on an interval, you can use the following BBcode : First utilization case, the interval is specified at minimum and maximum :
Result:
Second utilization case, the interval is specified at its maximum :
Result:
- Code:
[rand]50,100[/rand]
Result:
- Random number (50,100) : 59
Second utilization case, the interval is specified at its maximum :
- Code:
[rand]50[/rand]
Result:
- Random number (1,50) : 16
Similar topics
» Can i have your number?
» Something random my friend sent me lol
» Random screenshots ;p
» Random Gunz Screens
» Random sht ijji gunz.
» Something random my friend sent me lol
» Random screenshots ;p
» Random Gunz Screens
» Random sht ijji gunz.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|