diff options
author | Ian C <ianc@noddybox.co.uk> | 2023-05-22 14:44:42 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2023-05-22 14:44:42 +0100 |
commit | af40beb9c7a24dcd787f30e04b9a5854c8fe9f73 (patch) | |
tree | 8794d2e0ad7a11a05dfe993314fd0b3eda1a5c49 | |
parent | a91c8129a58419a2c8d6d80682566059f58fe5d7 (diff) |
Small tweak to significant digits on menu scores
-rw-r--r-- | csol.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |