in reply to
decimal -> hex
dec -> hex: s/printf with %x
printf "%x\n", 15;
[download]
hex -> dec: function hex
print hex ('F');
[download]
to break a wheel on the fly (one of the rare sayings i learned - would be in german: "mit kanonen auf spatzen schiessen" :) )
the package Math::BaseCalc;
HTH
Comment on
Re: decimal -> hex
Select
or
Download
Code
In Section
Seekers of Perl Wisdom