String format: Five digits after decimal in float : Output Format « Development « Python
- Python
- Development
- Output Format
String format: Five digits after decimal in float

floatValue = 123456.789
print "Five digits after decimal in float %.5f" % floatValue
Related examples in the same category