Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

round decimal to 2 places python

>>> round(1.4756,2)
1.48
>>> round(1.3333,2)
1.33
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #decimal #places #python
ADD COMMENT
Topic
Name
3+8 =