You are here: RE: [PHP] Counting in Hex « PHP « IT news, forums, messages
RE: [PHP] Counting in Hex

Posted by "Ben Miller" on 12/07/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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация