Generates random numbers within a specified range.
Random returns a random number within the range 0 ⇐ X < Range.
If Range is not specified, the result is a real-type random number within the range: 0 ⇐ X < 1.
Name | Mandatory | Description |
---|---|---|
Range | no | Random returns a random number within the range 0 ⇐ X < Range |
<#random range=500>
The above example will output (for exemple):
324