RE: [PHP] Help needed with hexdec();

2002-07-07 Thread Jonathan Rosenberg
ease check my math), the line if ($a > hexdec("")) would become if ($a > -1) See if this makes a difference. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Saturday, July 06, 2002 5:54 PM > To: [

[PHP] Help needed with hexdec();

2002-07-06 Thread frank
Hi Guys, I have a problem wich I hope has been solved by someone :-) Here's the deal, I have to convert a perl script to PHP trying to do so I get negative values from hexdec(), If I use (int)hexdec() the numbers aren't negative anymore, but they do not add up to what they should. Here's t