1
0
forked from ScoDoc/ScoDoc
This commit is contained in:
Emmanuel Viennet 2021-12-12 08:40:25 +01:00
parent 547e5f989d
commit 77be33d046

View File

@ -717,7 +717,9 @@ def _add_eval_columns(
row_note_max[evaluation_id] = "/ %s" % nmax row_note_max[evaluation_id] = "/ %s" % nmax
if nb_notes > 0: 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[ row_moys[
"_" + str(evaluation_id) + "_help" "_" + str(evaluation_id) + "_help"
] = "moyenne sur %d notes (%s le %s)" % ( ] = "moyenne sur %d notes (%s le %s)" % (