Fixed typo
svn: r1742
This commit is contained in:
parent
f9b3e5df35
commit
a554ab8d80
@ -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
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user