Help for this page

Select Code to Download


  1. or download this
    #!usr/bin/perl
    print " This program will print all 10 decimal places.\n";
    ...
            print "Value after increment is :".sprintf('%20.17f',$value)."
    +\n"
    }
    print "EOF.\n";
    
  2. or download this
     This program will print all 10 decimal places.
    Enter an integer value.
    ...
    value has become 11
    Value after increment is :11.09999999999999600
    EOF.