string to float problem

jubafre at jubafre at
Wed Oct 16 20:27:44 CEST 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:, 0.0, nocase=1, stopindex=END)
return start='10.60'	

if i transform to float like this
return 10.6


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

More information about the Python-list mailing list