Quote Originally Posted by Xavier_Firbold View Post
Surely just if number = 0 just add 1 would fix it then?
They're saying that rand pulls a number from 0 to the upper limit, so if you just +1 you can end up with a ticket number that doesn't exist if it happens to draw the highest number.