Help for this page

Select Code to Download


  1. or download this
    my $num = 12000/1000;
    my $string = sprintf "%.01f", $num;
    print $string, "\n";
    
  2. or download this
    use strict;
    use warnings;
    ...
        close STROUT or die "trying: $!\n";
        return $string;
    }