$file->niceSize()
Returns the file size in a human-readable format
Parameters
Name | Type | Default | Description |
---|---|---|---|
$locale | string |false |null |
null |
Locale for number formatting,null for the current locale,false to disable number formatting |
Return type
string