Learn JavaScript
Math Object
18.5
Lesson

Rounding Down a Number

The Math.floor method rounds down the number.

2.9 is rounded down to 2: