F::niceSize()
Converts an integer size into a human readable format
F::niceSize(mixed $size, string|null|bool $locale = null): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$size |
mixed |
– | The file size or a file path |
$locale |
string |null |bool |
null |
Locale for number formatting, |
Return type
string