From af40beb9c7a24dcd787f30e04b9a5854c8fe9f73 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 22 May 2023 14:44:42 +0100 Subject: Small tweak to significant digits on menu scores --- csol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csol.c b/csol.c index c57d8af..b4528e6 100644 --- a/csol.c +++ b/csol.c @@ -106,7 +106,7 @@ static const char *GetScore(int game) } else { - snprintf(buff, sizeof buff, "%lu played, %lu won, %.2f%%", + snprintf(buff, sizeof buff, "%lu played, %lu won, %.4f%%", score[game].played, score[game].won, (double)score[game].won / (double)score[game].played * 100.0); -- cgit v1.2.3