Commit 4fab2d5f authored by Sebastien Robin's avatar Sebastien Robin

fixed important bug in the render of the FloatField, wrong values where displayed to the user


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3285 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 150e50b2
......@@ -782,7 +782,7 @@ class FloatWidget(TextWidget):
if precision not in (None,''):
for i in range(0,precision):
if i < len(value_list[1]):
value += value_list[1][0]
value += value_list[1][i]
else:
value += '0'
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