DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to add extra zeros after decimal in python
>>> format(2.0, '.6f') '2.000000'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#add
#extra
#zeros
#decimal
#python
ADD COMMENT
Topic
COMMENT
Name
3+6 =
Submit