0.9) { $size = $size / 1024; $i++; } return round($size, ($i < 2) ? 0 : $precision) . ' ' . $units[$i]; }); } }