Libraries anvil math floor

float floor(float num)
Returns the largest (closest to positive infinity) float value that is not greater than the argument and is equal to a mathematical integer.