I'd like to convert a list of floats to a list of strings constrained
to one .1f format. These don't work. Is there a better way?

[".1f" % i for i in l]
or
[(".1f" % i) for i in l]

StephenB
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to