note 10503 added to decbin
| From: | daduke at dataway dot ch | Date: | Mon, 08 Jan 2001 08:57:07 +0000 |
| Subject: | note 10503 added to decbin | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9468@lists.php.net to get a copy of this message | ||
Hi,
is there a way to specify the width of the binary word? E. g. I have to translate 0..7 to
"000".."111". Just using decbin doesn't give "000" but
"0".
tnx, Christian
http://www.php.net/manual/function.decbin.php