This commit is contained in:
Emmanuel Viennet 2021-12-12 08:40:25 +01:00
parent 547e5f989d
commit 77be33d046
1 changed files with 3 additions and 1 deletions

View File

@ -717,7 +717,9 @@ def _add_eval_columns(
row_note_max[evaluation_id] = "/ %s" % nmax
if nb_notes > 0:
row_moys[evaluation_id] = "%.3g" % (sum_notes / nb_notes)
row_moys[evaluation_id] = scu.fmt_note(
sum_notes / nb_notes, keep_numeric=keep_numeric
)
row_moys[
"_" + str(evaluation_id) + "_help"
] = "moyenne sur %d notes (%s le %s)" % (