From 52ae52a3944f4897cf5b7e5924e4c78f03b2d6d8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 30 May 2023 15:05:42 +0200 Subject: cli: show two decimals in model values --- lib/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/cli.py b/lib/cli.py index 066c685..bac459b 100644 --- a/lib/cli.py +++ b/lib/cli.py @@ -18,7 +18,7 @@ def print_static(model, static_model, name, attribute): elif attribute == "substate_count": unit = "su" print( - "{:10s}: {:28s} : {:.0f} {:s} ({:.2f})".format( + "{:10s}: {:28s} : {:.2f} {:s} ({:.2f})".format( name, attribute, static_model(name, attribute), -- cgit v1.2.3