I'm trying to write a page generation script but some of my calculations will come out to decimal places.

For example

$var=10/3;

would give about 3.333 I would need to round that to 4

or basically

$var=$a/$b and always round up, how would I do that?

Thanks