Use Math.floor(num) to round down num to get its floor value.

roundDown = Math.floor(15/2)
console.log(roundDown); // prints 7