Home / Javascript Tips Generated By ChatGPT / Using Math.floor to Round Down in Javascript Math.floor rounds a number down to the nearest whole number. Source Code console.log(Math.floor(3.7));