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