diff --git a/app/lib/system.php b/app/lib/system.php index 5e6399ac..e7007d0a 100644 --- a/app/lib/system.php +++ b/app/lib/system.php @@ -43,6 +43,7 @@ class System { } public function systemLoadPercentage() { - return floor(($this->loadAvg1Min() * 100) / $this->processorCount()); + return intval(($this->loadAvg1Min() * 100) / $this->processorCount()); } -} \ No newline at end of file +} +