Added rounding to result totals

This commit is contained in:
Daniel Mason 2017-01-02 20:00:41 +13:00
parent b68c2f78b2
commit 121772cebc

View File

@ -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 {