Help for this page

Select Code to Download


  1. or download this
    int ($num + .5);
    
    ($num += 5 / (10 ** ($decimal_places + 1))) =~ s/(?<=\.)(\d{1,$decimal
    +_places}).*$/$1/;
    
  2. or download this
    $, = $/;
    print map { sprintf("%.2f", $_) } values %stats;