Help for this page

Select Code to Download


  1. or download this
    CODE:
    
    ...
    1499 -> 1500
    1500 -> 1500
    1501 -> 1750
    
  2. or download this
    sub roundup {
            my ($n, $d) = @_;
            return ( int( $n / $d ) + 1 ) * $d;
    }