Use This Template

Math.Floor(Number)

This function takes a decimal number and rounds it down to the nearest integer.

For instance, if the input is 2.87, it will return 2. If the input is already an integer like 7, it will remain the same. Essentially, this function doesn’t round to the closest integer; it always rounds down, whether the decimal part is greater or less than 0.5.

Math.Floor(Number)

This function takes a decimal number and rounds it down to the nearest integer.