F::niceSize()
Converts an integer size into a human readable format
F::niceSize(int|string|array $size, string|false|null $locale = null): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$sizerequired | int orstring orarray |
no default value | The file size, a file path or array of paths |
$locale | string orfalse ornull |
null
|
Locale for number formatting,null for the current locale,false to disable number formatting |
Return type
string