Output float : Output Format : Development PYTHON examples


PYTHON examples » Development » Output Format »

 

Output float


Output float

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


           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Development
» Output Format