Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

float to int

print int(2.3) # "2"
print int(math.sqrt(5)) # "2"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #float #int
ADD COMMENT
Topic
Name
4+6 =