Devuelve el maximo entero menor o igual a un numero. The mathfloor method rounds a number DOWN to the nearest integer if necessary and returns the result. Mathfloor networkingondea este numero a un numero integer y agregar 1 al final cambia el range de entre 0 y 4 a entre 1 y 5 hasta e incluyendo 5.
The Mathfloor function returns the largest integer less than or equal to a given number.
ECMAScript ECMA European Computer Manufacturers Association. Following is the syntax for floor method. To round a number UP to the nearest integer look at the mathceil method. Devuelve el maximo entero menor o igual a un numero.