See perlfaq4: "Does Perl have a round() function? What about ceil() and floor()? Trig functions?" In particular, take a look at the ceil function in POSIX.
Update: Don't forget about Super Search, which found a particularly relevant thread: Rounding up nearest ten, hundred etc. :-)
In reply to Re: Round up 3 values to the next 100
by bobf
in thread Round up 3 values to the next 100
by siva kumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |