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 | intorstringorarray |
no default value | The file size, a file path or array of paths |
| $locale | stringorfalseornull |
null
|
Locale for number formatting,null for the current locale,false to disable number formatting |
Return type
string