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

Reply via email to