operation with strings and numbers

Hellas hellas_74 at hotmail.com
Fri Oct 15 12:35:16 EDT 2004


Hello guy
I'm italian boy, I need help for doing a strange thing with numbers

I have a number from operation like this:
a = float("010.123")
b = float("001.124")
p= a*b
p="%06.3f" % p
the resulted is "_11,278" where "_" is a space
I must to change the formatting of this number in "011278" but I don't known 
what to do
Could you help me please?
thanks a lot 





More information about the Python-list mailing list