From 64dbc10b0940235a1dab44a3bbe13a6c3ec341ab Mon Sep 17 00:00:00 2001 From: jonpas Date: Wed, 11 Dec 2019 23:35:11 +0100 Subject: [PATCH] Round stringtable completion to 2 decimals (#7300) --- tools/stringtablediag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/stringtablediag.py b/tools/stringtablediag.py index 8cd585ac2a..ce3dbc0247 100644 --- a/tools/stringtablediag.py +++ b/tools/stringtablediag.py @@ -117,7 +117,7 @@ def main(): language, keysum - localizedsum[i], ", ".join(missing[i]), - round(100 * localizedsum[i] / keysum))) + round(100 * localizedsum[i] / keysum, 2))) if __name__ == "__main__": main()