Jump to content


Photo

SOLVED Easy Question


  • Please log in to reply
2 replies to this topic

#1 Chevy

Chevy
  • Members
  • PipPipPip
  • Advanced Member
  • 163 posts

Posted 19 July 2006 - 07:32 PM

SOLVED

#2 nogray

nogray
  • Members
  • PipPipPip
  • Advanced Member
  • 930 posts
  • LocationSan Francisco CA

Posted 19 July 2006 - 07:41 PM

maybe this
$rand = ((float)rand()/(float)getrandmax()) + 1;

NoGray.com


#3 ChaosXero

ChaosXero
  • Members
  • PipPipPip
  • Advanced Member
  • 80 posts

Posted 19 July 2006 - 07:42 PM

$random = (rand(1, 20))/10




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users