wip del err

This commit is contained in:
salam committed 2026-10-04 15:22:39 +02:00
1 parent 812736ca9a
commit 9bcd4432c6
1210 files changed
-220941

No files matched your search

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