Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

round off float to 2 decimal places in python

answer = str(round(answer, 2))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #float #decimal #places #python
ADD COMMENT
Topic
Name
9+4 =