Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to round in python

#round(number, decimal_place=0)

print(round(4.355679))    #Prints 4
print(round(4.355679, 3)  #Prints 4.356
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
7+3 =