Remove integer from float number
Derek Basch
dbasch at yahoo.com
Thu Mar 23 14:37:44 EST 2006
How can I return:
".666"
from float:
"0.666"
This is what I have so far:
>>> "%.6f" % x
Thanks Everyone,
Derek Basch
More information about the Python-list
mailing list