JavaScript » Math » ceil

Syntax:
Math.ceil(x)

This method returns an integer equal to, or the next integer greater than, the number passed to it. Hence, if you passed it 3.79, it would return 4, and passing it -3.79 would return -3.