string to float problem
jubafre at brturbo.com
jubafre at brturbo.com
Wed Oct 16 14:27:44 EDT 2002
i have an aplication in tkinter, and i use the text componnent, i have a function to search in the componnet using 'search'.
for example:
start=self.text.search(string, 0.0, nocase=1, stopindex=END)
return start='10.60'
if i transform to float like this
float(start)
return 10.6
10.6!=10.60
and in my aplicattion make diference i, how can i transform this string in a float number, i want 10.60 in float?
Juliano Freitas
www.gebrasil.hpg.com.br
More information about the Python-list
mailing list