Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

truncated float python

num = 2.25
truncated_num = int(2.25)

// output
2
 
PREVIOUS NEXT
Tagged: #truncated #float #python
ADD COMMENT
Topic
Name
4+6 =