From 9d8c8f7c5b47c491a682bbeb0c425deeedf7e564 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 16 Nov 2020 02:06:27 +0100 Subject: [PATCH] Fixed that only one decimal place has been displayed --- .../net/codinux/banking/epcqrcode/windows/main/MainWindow.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EpcQrCodeJavaFxApp/src/main/kotlin/net/codinux/banking/epcqrcode/windows/main/MainWindow.kt b/EpcQrCodeJavaFxApp/src/main/kotlin/net/codinux/banking/epcqrcode/windows/main/MainWindow.kt index 7fbcf84..100b07d 100644 --- a/EpcQrCodeJavaFxApp/src/main/kotlin/net/codinux/banking/epcqrcode/windows/main/MainWindow.kt +++ b/EpcQrCodeJavaFxApp/src/main/kotlin/net/codinux/banking/epcqrcode/windows/main/MainWindow.kt @@ -26,7 +26,7 @@ class MainWindow : View(FX.messages["application.title"]) { companion object { private const val FieldHeight = 31.0 - private val DecimalFormat = DecimalFormat( "#.0" ) + private val DecimalFormat = DecimalFormat( "#.00" ) private val AppSettingsFile = File("settings.json")