Re: note 8135 added to dechex
| From: | Hartmut Holzgraefe | Date: | Tue, 29 Aug 2000 07:04:47 +0000 |
| Subject: | Re: note 8135 added to dechex | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-3573@lists.php.net to get a copy of this message | ||
emtyweb@hotmail.com wrote:
>
> have noticed with the dechex function, if one of the dec numbers is a single digit, it
> doesn't auotmatically convert into a 2 digit hex value. any solutions?
why should it add insignificant digits?
if you want formated output use printf() or sprintf()
--
Hartmut Holzgraefe
hartmut@six.de http://www.six.de +49-711-99091-77 fax:-99