math floor operators javascript code example Example: math.floor console.log(Math.floor(5.05)); // expected output: 5