Fixed display bug on RAM quota bar

feature/node-rewrite
Sven Slootweg 13 years ago
parent 9e8ffd455d
commit 3844afa4f9

@ -69,7 +69,7 @@ try
$sVariables = array_merge($sVariables, array(
'ram-used' => $sContainer->sRamUsed,
'ram-total' => $sContainer->sRamTotal,
'ram-percentage' => ($sContainer->sRamUsed / $sContainer->sRamTotal) * 100,
'ram-percentage' => number_format(($sContainer->sRamUsed / $sContainer->sRamTotal) * 100, 2),
'ram-unit' => "MB"
));
}

Loading…
Cancel
Save