Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove trailing zeros python

var = round(var, 1) #the first value is the number or var 
#to round, the second is what desimal to round to
 
PREVIOUS NEXT
Tagged: #remove #trailing #zeros #python
ADD COMMENT
Topic
Name
1+3 =