F::niceSize()
Converts an integer size into a human readable format
Parameters
Name | Type | Default | Description |
---|---|---|---|
$size * | mixed |
– | The file size, a file path or array of paths |
$locale | string |null |false |
null |
Locale for number formatting,null for the current locale,false to disable number formatting |
Return type
string