How to write string (float) to file?

Piotr Legiecki piotrlg at sci.pam.szczecin.pl
Wed Aug 29 06:45:31 EDT 2001


In article <jUZi7.176950$rV6.8807005 at e420r-atl2.usenetserver.com>, "Steve
Holden" <sholden at holdenweb.com> wrote:

......

Oops!

> [Piotr: if you're reading this, perhaps you will appreciate how an
> apprently innocent question can meander off into the undergrowth and
> live for days. Good question!]

Yes. I was reading all the posts. Thank you all very much for such an in
depth explanation of floating numbers :-) but I think I will stay with the
%.2f notation and hope that python math implementation is sufficient for
my needs ;-)

Regards
Piotr Legiecki



More information about the Python-list mailing list