Rounds a number down to the nearest integer.
1 2
printf("%g\n", math.floor(4.7)) // 4 printf("%g\n", math.floor(-4.2)) // -5