Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert float to int python

# convert float to int 
x=3.1415
y=int(x)
print(y) #outputs 3
 
PREVIOUS NEXT
Tagged: #convert #float #int #python
ADD COMMENT
Topic
Name
8+3 =