how to remove trailing .0 python code example
Example: 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
var = round(var, 1) #the first value is the number or var
#to round, the second is what desimal to round to