function
random (shared-side)
Available since version: 0.3.0
Note
If won't pass arguments, the returned value will be a random float in range <0.0, 1.0).
This function returnes random number.
Declaration
integer|float random(integer|float first = null, integer|float second = null)
Parameters
integer|float
first: the first argument, if you pass only this argument, the generated value will be random int in range <0, first>.integer|float
second: the second argument, passing this argument will generate a random in in range.
Returns integer|float
the generated random number.