RandG.randomIntRange

Returns a random #gint32 equally distributed over the range [@begin..@end-1].

class RandG
static
int
randomIntRange
(
int begin
,
int end
)

Parameters

begin int

lower closed bound of the interval

end int

upper open bound of the interval

Return Value

Type: int

a random number

Meta