mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 03:08:41 +00:00
fix(group/assignment): decimal score display
This commit is contained in:
parent
b13b035213
commit
aca69c941c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user