Report sorting is broken with comma decimal separator
This commit is contained in:
parent
47fce2d163
commit
ad7d3f84fc
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@
|
|||
// parse 1,000.00 or 1.000,00
|
||||
function convertStringToNumber(str) {
|
||||
str = str + '' || '';
|
||||
var number = Number(str.replace(/[^0-9]+/g,""));
|
||||
var number = Number(str.replace(/[^0-9]+/g, ''));
|
||||
return number / 100;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue