From 1792ad7be64065fe739e64e11767049caf3f8d22 Mon Sep 17 00:00:00 2001 From: Monique Hansma Date: Wed, 17 Jan 2024 18:15:14 +0100 Subject: [PATCH] 1 x afronden teveel --- application/libraries/monpas/Schoolscores.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/libraries/monpas/Schoolscores.php b/application/libraries/monpas/Schoolscores.php index f105984..8795a11 100644 --- a/application/libraries/monpas/Schoolscores.php +++ b/application/libraries/monpas/Schoolscores.php @@ -294,7 +294,7 @@ class Schoolscores $this->gemiddelde->gem = 0; $this->gemiddelde->score = 0; $deler = $this->aantalY - $this->aantaldisablenvt; - if($deler > 0) $this->gemiddelde->gem = round(round($this->somscore) / $deler); + if($deler > 0) $this->gemiddelde->gem = round($this->somscore / $deler); $this->gemiddelde->disabled = 'F'; $this->gemiddelde->disablenvt = 'F';