DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
force two decimal places python
print ("{0:.2f}".format(a))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#force
#decimal
#places
#python
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit