Example-
number is 2.3
floor will 2
number is 45.6
floor will 45
program-
import math
print("Enter any number")
n=float(input())
print("Floor is "+str(math.floor(n)))
print(type(n))
print(type(math.floor(n)))
Enter any number
3.2
Floor is 3
<'class 'float'>
<'class 'int'>
Enter any number
-2.4
Floor is -3
<'class 'float'>
<'class 'int'>