floor()

math.floor(-23.11) :  -24.0
math.floor(300.16) :  300.0
math.floor(300.72) :  300.0

ceil()

math.ceil(-23.11) :  -23.0
math.ceil(300.16) :  301.0
math.ceil(300.72) :  301.0

floor() and ceil() function Python - GeeksforGeeks

floor() method in Python returns the floor of x i.
https://www.geeksforgeeks.org/floor-ceil-function-python/