Help for this page

Select Code to Download


  1. or download this
    my $p = &PricePerUnit(..);
    $units = int(0.5 + ($units*$p*100) )/100;
    
  2. or download this
    int(0.5 + ($units*$p*100) ) => 12400 (ok!!)
    
    but now deviding 12400 by 100 I get
        123.99 instead of 124.00 or 124