Format the output of getLoad to two decimal places

pull/3494/head
Isaac Connor 2022-06-01 13:32:52 -04:00
parent da0483f3e7
commit 7fa3fbfe8b
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ function getSysLoadHTML() {
$result .= '<li id="getSysLoadHTML" class="Load nav-item mx-2">'.PHP_EOL;
$result .= '<i class="material-icons md-18">trending_up</i>'.PHP_EOL;
$result .= '&nbsp;'.translate('Load').': '.getLoad().PHP_EOL;
$result .= '&nbsp;'.translate('Load').': '.number_format(getLoad(), 2, '.', '').PHP_EOL;
$result .= '</li>'.PHP_EOL;
return $result;