Commit 2b9c714f authored by Romain Courteaud's avatar Romain Courteaud

Bug fix: multiply a float and not a string (thanks to

Brice Leroy)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9515 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1ccb0fe1
......@@ -884,7 +884,7 @@ class FloatWidget(TextWidget):
percent = 0
if input_style.find('%')>=0:
percent=1
value = value * 100
value = float(value) * 100
try :
value = str(float(value))
except ValueError:
......
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