python math.trunc
import math
print (math.trunc(2.5)) # 2 (behaves like math.floor)
print (math.trunc(-2.5)) # -2 (behaves like math.ceil)
What
import math
print (math.trunc(2.5)) # 2 (behaves like math.floor)
print (math.trunc(-2.5)) # -2 (behaves like math.ceil)