You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, for example the sum of numbers 2 084.05 + 1 367.60 = 3.00 with setting data-math-mask='# ##0.00' (in last version of jQuery and Tablesorter). So just the sum of numbers before the space. The sum of numbers less than a thousand, or without spaces, is correct. Sorting and filtering is correct via custom parser as:
$.tablesorter.addParser({
id: 'thousands',
is: function (s) {
return false;
},
format: function (s) {
return s.replace(/\s+/g, '').replace(/,/g, '.');
},
type: 'numeric'
});
The text was updated successfully, but these errors were encountered:
Hello, for example the sum of numbers 2 084.05 + 1 367.60 = 3.00 with setting data-math-mask='# ##0.00' (in last version of jQuery and Tablesorter). So just the sum of numbers before the space. The sum of numbers less than a thousand, or without spaces, is correct. Sorting and filtering is correct via custom parser as:
$.tablesorter.addParser({
id: 'thousands',
is: function (s) {
return false;
},
format: function (s) {
return s.replace(/\s+/g, '').replace(/,/g, '.');
},
type: 'numeric'
});
The text was updated successfully, but these errors were encountered: