No, integer() does not round. It just removes the fractional part of the number. For rounding and ceil use the functions posted by Spirit and Scorpion.