Returns the greatest integer less than or equal to its numeric argument.
floor(value)
value
A value.
A number.
Math.floor(10.2)
10
Math.floor(10.9)