rand /Math

int rand(int n)

Generates and returns a random number between 0 and n.