summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2023-05-22 14:44:42 +0100
committerIan C <ianc@noddybox.co.uk>2023-05-22 14:44:42 +0100
commitaf40beb9c7a24dcd787f30e04b9a5854c8fe9f73 (patch)
tree8794d2e0ad7a11a05dfe993314fd0b3eda1a5c49
parenta91c8129a58419a2c8d6d80682566059f58fe5d7 (diff)
Small tweak to significant digits on menu scores
-rw-r--r--csol.c2
1 files changed, 1 insertions, 1 deletions
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);