Code-Samples/javascript/26.6_math_code.html Math.floor() converts number to nearest smallest integer.