does. If $hexnum is 0xdeadbeef, the sprintf will return "deadbeef". (Use %X instead of %x if you want "DEADBEEF".)sprintf("%x", $hexnum)
(updated to correctly say sprintf instead of printf)
In reply to Re: Re: Re: passing hex argument as string
by ysth
in thread passing hex argument as string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |