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

2002-07-08 Thread Richard Lynch
>I wrote a less-limited hex2dec function years ago, and threw it up on >Sklar, >or, uhhh, the *other* PHP code repository. There were really only two, >back >then... :-) Another option would be the BC Math package which will let you compute arbitrarily large numbers, albeit a bit slower. Just h

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

2002-07-08 Thread frank
t the numbers or hex number for that matter please don't hesitate. Anyway, I'm dropping the project for now. Thanks again. -Oorspronkelijk bericht- Van: Richard Lynch [mailto:[EMAIL PROTECTED]] Verzonden: zondag 7 juli 2002 0:12 Aan: [EMAIL PROTECTED] Onderwerp: [PHP] Re: H

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

2002-07-06 Thread Richard Lynch
>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. >From the manual: http://php.net/hexdec "The largest number that can be converted is 7fff or