diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-30 15:05:42 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-30 15:05:42 +0200 |
commit | 52ae52a3944f4897cf5b7e5924e4c78f03b2d6d8 (patch) | |
tree | da8402bec9e1e7d11be7776c8a3b9528ca2e21dc /lib | |
parent | e5a69c4baee3900bc626cf59b9fda76336c70a2b (diff) |
cli: show two decimals in model values
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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), |