Documentation

Math::Rand

Function

float Math::Rand(float min, float max)

Generate a random floating point value between min (inclusive) and max (exclusive).

float min

float max

Returns float
int Math::Rand(int min, int max)

Generate a random integer between min (inclusive) and max (exclusive).

int min

int max

Returns int