diff --git a/web/app/controllers/group_assignment.php b/web/app/controllers/group_assignment.php index ded4ebb..a74bf10 100644 --- a/web/app/controllers/group_assignment.php +++ b/web/app/controllers/group_assignment.php @@ -63,9 +63,9 @@ UOJGroupAssignment::cur()->userCanView(['ensure' => true]); if ($submission) { $row[2][] = [ (int)$submission['id'], - (int)$submission['score'], + UOJSubmission::roundedScore($submission['score']), ]; - $row[0] += $submission['score']; + $row[0] = UOJSubmission::roundedScore($row[0] + $submission['score']); } else { $row[2][] = null; }