Python Floor
import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
AlarmClockMan
import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
import math
print(math.floor(5.3))
output = 5
import math
print(math.floor(48.25))
print(math.floor(45.98))
print(math.floor(-38.68))
print(math.floor(-24.99))
>>> import math
>>> math.floor(6.7)
6
import math
x = 3.86356
math.floor(x)
import math
math.ceil( x )