Float to int

float to int
float

1 Python[ | ]

Python
Copy
print( int(10.0) )
# 10
Python
Copy
print( type(int(10.0)) )
# <class 'int'>

2 같이 보기[ | ]