Mega Code Archive
Categories
/
Python
/
Development
String Format
floatValue = 123456.789 print "Five digits after decimal in float %.5f" % floatValue