X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/243f4c5eef6c3f1d6e6d2875080e5830cf5382a8..eb86b37548068a37248eeb24b48656a0c88cd034:/wtem/models.py?ds=inline diff --git a/wtem/models.py b/wtem/models.py index abeb56b..2b093ae 100644 --- a/wtem/models.py +++ b/wtem/models.py @@ -236,7 +236,7 @@ class Submission(models.Model): mark = self.get_final_exercise_mark(exercise_id) if mark is not None: final += mark - return final + return round(final, 2) @property def final_result_as_string(self):