pull/320/merge
Saverio Menin 2 years ago committed by GitHub
commit 40cbaf484a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,7 +22,9 @@
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"currency-pre": function ( a ) {
a = (a==="-") ? 0 : a.replace( /[^\d\-\.]/g, "" );
var foo = a.replace( /[^\d\-\.]/g, "." );
foo = foo.replace( /[^\d\-\,]/g, "" );
a = (a==="-") ? 0 : foo;
return parseFloat( a );
},

Loading…
Cancel
Save