JSREF

JavaScript Math.floor()

The Math.floor() method rounds a number DOWN to the nearest integer.