mirror of
https://github.com/idanoo/nzart-exam-generator
synced 2025-07-16 21:21:55 +00:00
Added rounding to result totals
This commit is contained in:
parent
b68c2f78b2
commit
121772cebc
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ if (isset($_POST['mark'])) {
|
||||||
foreach($da as $c=>$d) {
|
foreach($da as $c=>$d) {
|
||||||
echo $d;
|
echo $d;
|
||||||
}
|
}
|
||||||
echo $total."% Average<br/><br/>";
|
echo round($total,2)."% Average<br/><br/>";
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue