Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You want the next smallest or largest integer value of a floating-point number (floor or ceil).
floor(x) returns the largest integral value that is not greater than x. ceil(x) returns the smallest integral value that is not less than x.