Not exactly perl, but ...

Is there a simple formula to round some value X up to the next multiple of
some other value T?

I remember seeing another formula for rounding a value X to the nearest
multiple of T -- I'd love that one too, if someone has a list of handy
formulas.

Or is there a module perhaps that already does this?

- B



-- 
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