S
stephen_b
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
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