Floating point format

jb jblazi at hotmail.com
Fri May 24 17:52:20 EDT 2002


On my system floating points are displayed as 12.34.
Is there a simple possibility to have 12,34 instead? Of course I could look 
at the output of '%4.1f' % x and replace the '.' by a ',', but is there a 
more elegant way?

-- 
Janos Blazi

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



-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
   http://www.newsfeed.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