Never mind - wasn't adding properly. Found it after all on php.net, anyway. Thanks anyway. -----Original Message----- From: Ben Miller [mailto:benipmiller@xxxxxxxxxxx] Sent: Wednesday, January 04, 2006 5:01 PM To: php-general@xxxxxxxxxxxxx Subject: 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php