Help for this page

Select Code to Download


  1. or download this
    my $bin = sprintf "%b", hex $hex;
    
  2. or download this
    sub bin2dec 
    { 
    ...
    }
    
    my $hex = sprintf "%x", bin2dec( $bin )