Posted by "Ben Miller" on 10/21/06 11:36
Never mind - wasn't adding properly. Found it after all on php.net, anyway.
Thanks anyway.
-----Original Message-----
From: Ben Miller [mailto:benipmiller@comcast.net]
Sent: Wednesday, January 04, 2006 5:01 PM
To: php-general@lists.php.net
Subject: [PHP] Counting in Hex
Is there a way in PHP to count using hex instead of numerals so that the
following statement
$var = 237F;
$var++;
echo "$var";
would result in
2380
Thanks a bunch.
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[Back to original message]
|