/home/techb158/exp.abdallabala.com/application/autoload/Ib
NameSizeModeActions
Ajax.php1680644editdlrm
Animate.php22560644editdlrm
Email.php40350644editdlrm
Html.php10430644editdlrm
I18n.php59200644editdlrm
Internal.php28650644editdlrm
Json.php18960644editdlrm
Math.php8130644editdlrm
Pdf.php18020644editdlrm
Recaptcha.php9040644editdlrm
Str.php9130644editdlrm
System.php6880644editdlrm
Edit: /home/techb158/exp.abdallabala.com/application/autoload/Ib/Math.php (813B)
$val, 'avg' => round(($val / $num) * 100, $round), ]; }, array_count_values($array)); } public static function array_percentage($arr, $round = 1) { $total = array_sum($arr); $ret = []; foreach ($arr as $key => $value) { if ($value == 0) { $ret[$key]['percentage'] = 0; } else { $ret[$key]['percentage'] = round( ($value / $total) * 100, $round ); } } return $ret; } }