Math.floor()

Syntax:

Math.floor( x )

Return:

The value of a number rounded down to the nearest integer.

Parameters:

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

image\Script_Button.jpgExamples