in reply to Round up 3 values to the next 100
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. :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Round up 3 values to the next 100
by siva kumar (Pilgrim) on Feb 14, 2007 at 06:59 UTC | |
by bobf (Monsignor) on Feb 14, 2007 at 07:07 UTC | |
by siva kumar (Pilgrim) on Feb 14, 2007 at 07:15 UTC | |
by siva kumar (Pilgrim) on Feb 14, 2007 at 07:13 UTC | |
by bobf (Monsignor) on Feb 14, 2007 at 07:26 UTC | |
by gowthamtr (Sexton) on Feb 14, 2007 at 07:26 UTC |