Method: f::nice_size
Converts an integer size into a human readable format
Info
Syntax
f::nice_size($size)
Parameters
- $size (int) The file size
Return (string)
Example
$nice_size = f::nice_size(1231939);
// nice size is: 1,2 MB
Converts an integer size into a human readable format
f::nice_size($size)
$nice_size = f::nice_size(1231939);
// nice size is: 1,2 MB