Mathf.floorToInt is a function in Unity , but it is not relevant to the question.
FloorToInt returns the lowest int from the current float as expected. It works fine.