diff --git a/src/main/java/ch/wisv/events/admin/controller/DashboardSalesExportController.java b/src/main/java/ch/wisv/events/admin/controller/DashboardSalesExportController.java index af9804fc..515110df 100644 --- a/src/main/java/ch/wisv/events/admin/controller/DashboardSalesExportController.java +++ b/src/main/java/ch/wisv/events/admin/controller/DashboardSalesExportController.java @@ -159,10 +159,10 @@ public static String generateCsvContent(Map 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(); }