in reply to
decimal to binary
You could always use
sprintf
():
my ($binary) = sprintf ("%08b", $decimal);
[download]
Comment on
Re: decimal to binary
Download
Code
In Section
Seekers of Perl Wisdom