in reply to Round up 3 values to the next 100
#!/usr/bin/perl -w use strict; my $num = 786603; my $rem = $num % 100; $num += (100 - $rem) if ($rem > 0); print $num."\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Round up 3 values to the next 100
by Anonymous Monk on Sep 13, 2010 at 11:00 UTC | |
by Anonymous Monk on Nov 05, 2011 at 23:02 UTC | |
by choroba (Cardinal) on Nov 05, 2011 at 23:20 UTC |