JavaScript » Math » round

Syntax:
Math.round(x)

This method is used to round a number to the nearest integer. If the fractional portion of the number is .5 or higher, then the number is rounded up, otherwise it is rounded down.