Thread: Random?
View Single Post
  #8  
Old 03-02-2011, 08:05 PM
Jiroxys7 Jiroxys7 is offline
Hazard to Graal
Jiroxys7's Avatar
Join Date: Apr 2009
Posts: 343
Jiroxys7 will become famous soon enough
Quote:
Originally Posted by DustyPorViva View Post
You are reading it wrong. It generates a random number then adds .5 to it. With int() this effectively rounds the number up, eliminating the problem.
Ah, I see!
__________________
MY POSTS ARE PRONE TO EDITS!
Reply With Quote