diff --git a/html/js/noalyss_script.js b/html/js/noalyss_script.js
index e6477cda0..7d9d6a4ed 100644
--- a/html/js/noalyss_script.js
+++ b/html/js/noalyss_script.js
@@ -320,7 +320,9 @@ function format_number(obj, p_prec)
precision = p_prec;
}
var value = obj.value;
+ value = value.replace(/ /g, '');
value = value.replace(/,/g, '.');
+
value=compute_number(value);