note 28333 rejected from function.rand by nicos

From: Date: Thu, 09 Jan 2003 15:31:18 +0000
Subject: note 28333 rejected from function.rand by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-41918@lists.php.net to get a copy of this message
hello, i'm trying to get random numbers between 1 and 10, but 10 should come only in 1% of occassions while 1 should come in 90% (or so). the higher the number, the lesser the occasion. any hints on that? thanks - u.

« previous php.notes (#41918) next »