my $int = oct("0x[COLOR=red]9C[/color]");
where 9C is your one byte hex code (00..FF)
-------------
[url=http://www.cuvou.com/]Cuvou.com[/url] | My personal homepage
[url=http://www.project-fearless.com]Project Fearless[/url] | My web blog
afaik, hexadecimal doesn't support negative numbers... not in one byte, anyway, because one byte can only range from 00 to FF... or, 0 to 255, with no room for negative numbers.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.