wip matches

This commit is contained in:
salam committed 2025-08-27 12:51:03 +02:00
1 parent adb15e701b
commit 7116d3c576
33 files changed
+379 -176

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\Utilities;
class Margin
{
public static function margin($arr)
{
if (! is_array($arr)) {
return false;
}
$r = 0;
foreach ($arr as $key => $value) {
$r += 100 / $value;
}
return round($r, 3);
}
}