From 602bf5298342a433a62a8c7a1f3a16250d1bd88c Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 28 Oct 2022 20:43:00 -0700 Subject: [PATCH] Better number formatting --- lamb/runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lamb/runner.py b/lamb/runner.py index f9b16f1..062d08f 100644 --- a/lamb/runner.py +++ b/lamb/runner.py @@ -149,10 +149,10 @@ class Runner: stop_reason.value, ("class:result_header", f"\nMacro expansions: "), - ("class:text", str(macro_expansions)), + ("class:text", f"{macro_expansions:,}"), ("class:result_header", f"\nReductions: "), - ("class:text", f"{i} "), + ("class:text", f"{i:,} "), ("class:muted", f"(Limit: {self.reduction_limit:,})") ]