Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove decimal python

# Truncates a double to an int
i = 10.0
k = int(i)

# i = 10.0
# k = 10
 
PREVIOUS NEXT
Tagged: #remove #decimal #python
ADD COMMENT
Topic
Name
9+8 =