Mail_IMAP::convertBytes()

str convertBytes(int $bytes)

Converts an integer containing the number of bytes in a file to one of Bytes, Kilobytes (KB), Megabytes (MB), or Gigabytes (GB), appending the unit of measurement.

Method summary:

param int $bytes
return string
access public
Execution time: 0.05 seconds