use warnings; use strict; print "Enter decimal number less than 256:"; my $decimal; $decimal=<STDIN>; chomp $decimal; printf '%08b', $decimal; print "\n";
In reply to Re: decimal to binary conversion
by toolic
in thread decimal to binary conversion
by mp0065789
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |