diff --git a/app/includes/utilities.php b/app/includes/utilities.php index 351e376..32743c6 100644 --- a/app/includes/utilities.php +++ b/app/includes/utilities.php @@ -52,7 +52,7 @@ function formatBytesTo($bytes, $delimiter, $decimals = 2) { $i = array_search($delimiter, $sizes); - return number_format(($bytes / pow($k, $i)), $decimals); + return number_format(($bytes / pow($k, $i)), $decimals, '.', ''); } function kibibytesToBytes($kibibytes, $vnstatJsonVersion) {