Skip to content

Commit

Permalink
Merge pull request #499 from WISVCH/fix-locale-genrate-csv-content
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdijk authored Jul 27, 2024
2 parents 90744b5 + c3506a0 commit 6c5f18e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ public static String generateCsvContent(Map<Integer, AggregatedProduct> map) {
csvContent.append(entry.getValue().eventTitle)
.append(";").append(entry.getValue().organizedBy) // organized by
.append(";").append(entry.getValue().productTitle) // product title
.append(";").append(String.format("%.2f", entry.getValue().totalIncome)) // total income
.append(";").append(String.format(Locale.US, "%.2f", entry.getValue().totalIncome)) // total income
.append(";").append(entry.getValue().totalAmount) // total amount
.append(";").append(entry.getValue().vatRate) // vat rate
.append(";").append(String.format("%.2f", entry.getValue().price)).append("\n"); // price
.append(";").append(String.format(Locale.US, "%.2f", entry.getValue().price)).append("\n"); // price
}
return csvContent.toString();
}
Expand Down

0 comments on commit 6c5f18e

Please sign in to comment.