// round number up $roundedup = ceil($number); // round number down $roundeddown = floor($number); // round to nearest $roundednearest = round($number);