math floor
Math.floor() method takes a fraction as an argument and returns the largest integer equal or smaller than the original value.
Math.floor( 1.75); // Returns 1
copy
Math.floor() method takes a fraction as an argument and returns the largest integer equal or smaller than the original value.
Math.floor( 1.75); // Returns 1
copy