#!/usr/bin/perl -w use strict; my $num = 786603; my $rem = $num % 100; $num += (100 - $rem) if ($rem > 0); print $num."\n";
In reply to Re: Round up 3 values to the next 100
by Mandrake
in thread Round up 3 values to the next 100
by siva kumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |