diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py index 478b276f7fee2411045b560eba9714ee85d8bf0f..cde9e839e153ee7fdab2e72b8446dc0d30aa5505 100755 --- a/product/ERP5Form/ListBox.py +++ b/product/ERP5Form/ListBox.py @@ -1662,7 +1662,7 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')"> pass else: #attribute_original_value = attribute_value - attribute_value = "%.2f" % attribute_value + attribute_value = float("%.2f" % attribute_value) td_align = "right" elif type(attribute_value) is type(1): attribute_original_value = attribute_value