From 97f222ecb261c8cef917865276dc4d4ca2820669 Mon Sep 17 00:00:00 2001 From: Elijah Gregg Date: Tue, 29 Jun 2021 11:11:25 -0600 Subject: [PATCH] Make -stats show exponential notation --- plugins/bungame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bungame.py b/plugins/bungame.py index d0f06de..8fd6749 100644 --- a/plugins/bungame.py +++ b/plugins/bungame.py @@ -138,7 +138,7 @@ def on_stats(event): return bunc = len(buns) avg_bunt = average(buns) # *av*era*g*e *bun* *t*ime - stat_out = "You have befriended {:,} bun{}. Your average befriend time is {:,.02f}, and your current score is {:,.02f}.".format(bunc,"s" if bunc!=1 else "",avg_bunt,bungame_data["score_cache"].get(account,0)) + stat_out = "You have befriended {:,} bun{}. Your average befriend time is {:,.02f}, and your current score is {:.2e}.".format(bunc,"s" if bunc!=1 else "",avg_bunt,bungame_data["score_cache"].get(account,0)) respond(event,stat_out) def on_top10(event):