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