İlk temizlik tamamlandı bir önceki projeden
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php function percentage($number, $max, $fixed = 2) {
|
||||
|
||||
try {
|
||||
$percent = round($number * 100 / $max, $fixed);
|
||||
} catch (\Throwable $th) {
|
||||
$percent = 0;
|
||||
}
|
||||
|
||||
return $percent;
|
||||
} ?>
|
||||
Reference in New Issue
Block a user