diff --git a/sorting/brackets-negative.js b/sorting/brackets-negative.js index f675237..0559aa0 100644 --- a/sorting/brackets-negative.js +++ b/sorting/brackets-negative.js @@ -37,6 +37,6 @@ }else{ data = data.replace(/[\$£€\,]/g,''); } - return parseInt( data, 10 ); + return parseFloat( data ); }; }());