Julian Prud'homme 18 years ago
parent 1f009fe071
commit 3d90f317bc
  1. 3
      main/inc/lib/tracking.lib.php

@ -296,9 +296,8 @@ class Tracking {
}
$totalScore = $lp_scorm_score_total;
$totalWeighting = $lp_scorm_weighting_total + 100;
$pourcentageScore = round(($totalScore * 100) / $totalWeighting);
$pourcentageScore = round(($totalScore * 100) / $lp_scorm_weighting_total);
return $pourcentageScore;
}

Loading…
Cancel
Save