Thread: Random
View Single Post
  #12  
Old 07-29-2001, 03:34 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Quote:
Originally posted by General
ap=random(0,100) would make the ap bar mad becuase it would wind up with
ap=42.45684574562341256
ap=int(random(0,101))
(And yes 101, integers always round down)
__________________

Reply With Quote