Leading zeroes problem

jb jblazi at hotmail.com
Thu May 16 17:04:57 EDT 2002


How do I get '00.0' from 0.0. I can say '%03d' % 0 but with floating point 
numbers this does not work.

-- 
Janos Blazi

"Il n'y a guère dans la vie qu'une préoccupation grave: c'est la mort;" 
(Dumas) 



-----------== Posted via Newsgroups.Com - Uncensored Usenet News ==----------
   http://www.newsgroups.com       The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----



More information about the Python-list mailing list