Math.round()

Syntax:

Math.round( x )

Return:

x rounded up or down to the nearest integer.

Parameters:

x – the number or a variable containing a number. This parameter is required.

image\Script_Button.jpgExamples