Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Is their a way to print a hex number without it being automaticly converted into a decimal? Something like:
$hex_num = 0xf4a; print $hex_num; # but no conversion
|
---|
Replies are listed 'Best First'. | |
---|---|
(zdog) Re: Output numbers in hex
by zdog (Priest) on Jul 08, 2002 at 07:09 UTC | |
Re: Output numbers in hex
by Abigail-II (Bishop) on Jul 08, 2002 at 10:17 UTC | |
Re: Output numbers in hex
by seattlejohn (Deacon) on Jul 08, 2002 at 07:11 UTC |