for integers:
(add one) divide by 2.
$rndup = ($var+1)/2;

On Wednesday, April 17, 2002, at 10:01  AM, Glenn Cannon wrote:

> I am dividing a number by 2.  How do I force a round up of the result?
>
> Glenn.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to