diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 2a3afcd6d0d..9a1d5e1f6c3 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -169,7 +169,8 @@ class Form else if (preg_match('/^(numeric|amount)/',$typeofdata)) { $tmp=explode(':',$typeofdata); - $ret.=''; + $valuetoshow=price2num($editvalue?$editvalue:$value); + $ret.=''; } else if (preg_match('/^text/',$typeofdata) || preg_match('/^note/',$typeofdata)) {