As long as your numbers are positive, you can simply convert to an int
to round down to the next integer:
>>> int(3.1415)
3
For negative integers, this will round up, though.
As long as your numbers are positive, you can simply convert to an int
to round down to the next integer:
>>> int(3.1415)
3
For negative integers, this will round up, though.