diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/widgets/widgets/system_information.widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php index 122b9a9..558851d 100644 --- a/src/usr/local/www/widgets/widgets/system_information.widget.php +++ b/src/usr/local/www/widgets/widgets/system_information.widget.php @@ -639,7 +639,7 @@ function updateCPU(total, used) { var d_used = used - lastUsed; // Convert to percent - var x = Math.trunc( ((d_total - d_used)/d_total) * 100); + var x = Math.floor( ((d_total - d_used)/d_total) * 100); if ($('#cpumeter')) { $('[id="cpumeter"]').html(x + '%'); |