Fixed typo

svn: r1742
This commit is contained in:
Don Allingham 2003-06-14 17:14:46 +00:00
parent d84f6601d7
commit 327d27811e

View File

@ -527,9 +527,9 @@ def gfloat(val):
return float(val)
except:
try:
return float(val.subst('.',','))
return float(val.replace('.',','))
except:
return float(val.subst(',','.'))
return float(val.replace(',','.'))
return 0.0
#-------------------------------------------------------------------------