wip grapper

This commit is contained in:
salam committed 2025-12-06 10:18:04 +01:00
1 parent 90bba45c0a
commit ce46e5d107
34 files changed
+565 -2729

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ namespace App\Utilities;
class Margin
{
public static function margin($arr)
public static function calculate($arr, $stellen = 3)
{
if (! is_array($arr)) {
return false;
@@ -14,6 +14,6 @@ class Margin
$r += 100 / $value;
}
return round($r, 3);
return round($r, $stellen);
}
}