DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+7 =
Submit