Index: branches/5.1.x/core/admin_templates/js/script.js =================================================================== diff -u -N -r13667 -r14147 --- branches/5.1.x/core/admin_templates/js/script.js (.../script.js) (revision 13667) +++ branches/5.1.x/core/admin_templates/js/script.js (.../script.js) (revision 14147) @@ -1497,8 +1497,14 @@ NumberFormatter.Parse = function(num) { - if (num == '') return 0; - return parseFloat( num.toString().replace(this.ThousandsSep, '').replace(this.DecimalSep, '.') ); + if (num == '') { + return 0; + } + + var $string = num.toString(); + + // we could have multiple thousand separators ! + return parseFloat( $string.replace(new RegExp(this.ThousandsSep, 'g'), '').replace(this.DecimalSep, '.') ); } NumberFormatter.Format = function(num)