note 5051 deleted from mt_rand by ronabop
| From: | ronabop@php.net | Date: | Wed, 13 Sep 2000 16:26:02 +0000 |
| Subject: | note 5051 deleted from mt_rand by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4831@lists.php.net to get a copy of this message | ||
Addon...
But author of this method made two errors.
This is correct:
$rndnumber=(mt_rand() % $maxVal-$minVal) + $minVal;
Thats ok.