Commit c0853e58 authored by Sebastien Robin's avatar Sebastien Robin

with numbers biggers than 1e+11, the float fields displayed a scientific...

with numbers biggers than 1e+11, the float fields displayed a scientific notation and it was really annoying, now it will display the full number even if there are very big

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12287 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 61564f72
......@@ -1010,7 +1010,7 @@ class FloatWidget(TextWidget):
percent=1
value = float(value) * 100
try :
value = str(float(value))
value = '%f' % (float(value))
except ValueError:
return value
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment