This commit is contained in:
James Cole
2020-03-26 19:59:38 +01:00
parent 628b493128
commit 54e3c7d729
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -569,8 +569,8 @@
// parse amount if has exactly one comma: // parse amount if has exactly one comma:
// solves issues with some locales. // solves issues with some locales.
if (1 === (row.amount.match(/\,/g) || []).length) { if (1 === (String(row.amount).match(/\,/g) || []).length) {
row.amount = row.amount.replace(',', '.'); row.amount = String(row.amount).replace(',', '.');
} }
currentArray = currentArray =