From c25a1bca7e0c714f6a5d8fd3406dd42506953cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=87=E8=91=A9=E3=81=AE=E7=81=B5=E6=A2=A6?= Date: Fri, 20 Sep 2024 12:42:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/gm/Getscore.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/gm/Getscore.kt b/src/main/kotlin/gm/Getscore.kt index 3a25459d..533e8be1 100644 --- a/src/main/kotlin/gm/Getscore.kt +++ b/src/main/kotlin/gm/Getscore.kt @@ -46,7 +46,7 @@ class Getscore : Function, Any> { val winRate1 = if (gameCount1 == 0) "0.00%" else "%.2f%%".format(winCount1 * 100.0 / gameCount1) - val winRateSum1 = ScoreFactory.getBlackWinRate(secretTask) + val winRateSum1 = "%.2f%%".format(ScoreFactory.getBlackWinRate(secretTask)) s += "$taskName\\t $winRate1\\t $winRateSum1\\t $gameCount1\\n" } s += "-----------------------------------\\n"