Re: how to get a formatted string?
Ginger wrote: > like format function in Visual Basic, > format("##.##%",0.3456) ==>> 34.56% > "%5.2f%%" % (0.3456*100) '34.56%' See this section of the manual: http://docs.python.org/lib/typesseq-strings.html Gary Herron -- http://mail.python.org/mailman/listinfo/python-list
how to get a formatted string?
like format function in Visual Basic, format("##.##%",0.3456) ==>> 34.56% -- http://mail.python.org/mailman/listinfo/python-list