Updatemy $c = 786733; my $rounded = 100 * int(($c+ 50) / 100);
my $c = 786001; print 100 * int(($c + 99) / 100);
In reply to Re: Round up 3 values to the next 100
by imp
in thread Round up 3 values to the next 100
by siva kumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |