jquery math.floor on number change do code example Example: math.floor console.log(Math.floor(5.05)); // expected output: 5