summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-05-30 15:05:42 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-05-30 15:05:42 +0200
commit52ae52a3944f4897cf5b7e5924e4c78f03b2d6d8 (patch)
treeda8402bec9e1e7d11be7776c8a3b9528ca2e21dc /lib
parente5a69c4baee3900bc626cf59b9fda76336c70a2b (diff)
cli: show two decimals in model values
Diffstat (limited to 'lib')
-rw-r--r--lib/cli.py2
1 files changed, 1 insertions, 1 deletions
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),