wip grapper
This commit is contained in:
1 parent
90bba45c0a
commit
ce46e5d107
34 files changed
+565
-2729
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user