From ff96438d1e235c243b4209abc92b97526b865ce5 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Mon, 8 Nov 2021 13:43:29 +0100 Subject: PAL: Round report comparisons to 1 digit more Change-Id: Ifc2fdd04270628053646a6b3d8b15bc730325eb6 Signed-off-by: Vratko Polak (cherry picked from commit e21ca2707937c91f66af9c3309a426aa61be7502) --- resources/tools/presentation/generator_tables.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 81bfa783e1..28f42ec089 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -2006,14 +2006,14 @@ def table_comparison(table, input_data): else: if idx < len(cols): new_itm = ( - f"{round(float(itm[u'mean']) / 1e6, 1)} " - f"\u00B1{round(float(itm[u'stdev']) / 1e6, 1)}". + f"{round(float(itm[u'mean']) / 1e6, 2)} " + f"\u00B1{round(float(itm[u'stdev']) / 1e6, 2)}". replace(u"nan", u"NaN") ) else: new_itm = ( - f"{round(float(itm[u'mean']) / 1e6, 1):+} " - f"\u00B1{round(float(itm[u'stdev']) / 1e6, 1)}". + f"{round(float(itm[u'mean']) / 1e6, 2):+} " + f"\u00B1{round(float(itm[u'stdev']) / 1e6, 2)}". replace(u"nan", u"NaN") ) if len(new_itm.rsplit(u" ", 1)[-1]) > max_lens[idx]: -- cgit 1.2.3-korg