View Single Post
  #5  
Old 09-05-2011, 06:42 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by gaben View Post
Is 'random' (0,100) the range of numbers from 0-100? I can't find any documentation on this!
Yes, it will never equal the maximum though.

int(random(0,100)) - int 'floors' the value which means it will always return a number >= 0 and <= 99.
__________________
Quote:
Reply With Quote