From 5067a1550b6df6fc577dd5bab94b88cc767bc020 Mon Sep 17 00:00:00 2001 From: Tobias Peper Date: Sun, 16 Mar 2025 18:12:03 +0100 Subject: [PATCH] =?UTF-8?q?Formatierung=20mit=20zwei=20Nachkommastallen=20?= =?UTF-8?q?f=C3=BCr=20kWh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/info/peper/vz/rest/VzRestController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/info/peper/vz/rest/VzRestController.java b/src/main/java/info/peper/vz/rest/VzRestController.java index f4ea621..31cd1b8 100644 --- a/src/main/java/info/peper/vz/rest/VzRestController.java +++ b/src/main/java/info/peper/vz/rest/VzRestController.java @@ -91,7 +91,7 @@ class VzRestController { final NumberFormat formatCurrency = new DecimalFormat("#,##0.00", new DecimalFormatSymbols(Locale.GERMAN)); final NumberFormat formatPercent = new DecimalFormat("#,##0.00", new DecimalFormatSymbols(Locale.GERMAN)); - final NumberFormat formatEnergy = new DecimalFormat("#,##0", new DecimalFormatSymbols(Locale.GERMAN)); + final NumberFormat formatEnergy = new DecimalFormat("#,##0.00", new DecimalFormatSymbols(Locale.GERMAN)); final List prices = this.getPrices(timestampStart, timestampEnd, houseId); float savedMoney = 0;