On 11/7/06, C. R. <[EMAIL PROTECTED]> wrote:

Does anyone have a routine that will round an integer to a multiple of
5?

 1. Divide by five.
 2. Round to the nearest integer.
 3. Multiply by five.
 4. Profit!

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to