Aren't your variables named backwards here? This sprintf format does decimal->hex translation; your variables make it look like hex->decimal translation.> my $dec_number = sprintf "%lx", $number;
In reply to RE: Re: Reverse Hexadecimal Translation
by btrott
in thread Reverse Hexadecimal Translation
by wyvern
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |