Search
 
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
Name
1+3 =