round a double
<? echo round(2.56); echo "<BR>"; echo round(1.22); echo "<BR>"; echo round(55.22); ?>