note 82543 deleted from function.max by danbrown
| From: | danbrown@php.net | Date: | Tue, 22 Mar 2011 13:59:34 +0000 |
| Subject: | note 82543 deleted from function.max by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178083@lists.php.net to get a copy of this message | ||
Note Submitter: henk at tobbe dot net dot au
----
In a publication by WROX I noted a variant of the earlier "bound" function:
A parameter had to be between 1 and 3...
$par=round((min(max($x,1),3));