I have found two ways of taking floors in Python:
3.1415 // 1
and
import math math.floor(3.1415)
The problem
As long as your numbers are positive, you can simply convert to an int to round down to the next integer:
int
>>> int(3.1415) 3
For negative integers, this will round up, though.