Rand::RandomInt(p_Upper)ΒΆ

INT Rand::RandomInt(const INT p_Upper)

Returns a random integer number uniformly distributed in the range [0, p_Upper), where 0 \(\small \leq\) p_Upper.

Returns 0 if p_Upper \(\small \lt\) 0.