Fixed typo
svn: r1742
This commit is contained in:
parent
d84f6601d7
commit
327d27811e
@ -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