Help for this page

Select Code to Download


  1. or download this
    #! perl
    use strict;
    ...
    my $d = hex_float($h);
    
    print "fraction =    $n\nhex      = $h\ndecimal  =    $d\n";
    
  2. or download this
    14:46 >perl 538_SoPW.pl
    fraction =    0.142857142857143
    ...
    decimal  =    0.142857142857143
    
    14:47 >