diff --git a/html/js/scripts.js b/html/js/scripts.js
index c3133e7e0..280942930 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -254,7 +254,8 @@ function set_value(p_ctl, p_value, p_add)
function compute_number(value)
{
var retval = 0;
- var exp = new RegExp("^[0-9/*+-.]+$", "g");
+
+ var exp = new RegExp("^[0-9/*+-.()]+$", "g");
/*pour éviter un eval() mal intentionné*/
var res = exp.test(value);
if (res)
@@ -3667,4 +3668,4 @@ function toggle_row_warning_enable(p_enable, p_row)
} else {
$(p_row).hide();
}
-}
\ No newline at end of file
+}