Help for this page

Select Code to Download


  1. or download this
    $ perl -e' printf "%.20f\n", 1.6;'
    1.60000000000000008882
    
  2. or download this
    $ perl -e'
       for ($i=1.1;$i<=1.6;$i+=.1) { printf "%.20f\n", $i; }
    ...
    1.50000000000000044409
    
    1.60000000000000053291
    
  3. or download this
    $ perl -le'for my $i (1..6) { print 1+$i/10 }'
    1.1
    ...
    1.4
    1.5
    1.6