Mega Code Archive

 
Categories / Python / Development
 

Output float

x = 1.23456789                print '%-6.2f | %05.2f | %+06.1f' % (x, x, x)