Search
 
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
Name
9+2 =