CSS: Providing seven essential vitamins and minerals since 1996.
Have a steaming hot, delicious slice of Standards.

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

Leave a Comment

Simple HTML is allowed: <code>, <b>, <i>, <u>, <var>, <strong>, <em>, <blockquote>, <ul>, <ol>, <li>, <p> (no attributes). All spacing and line breaks in your comment will be preserved.

* All comments are moderated and are subject to approval.
Your comment will appear once it has been approved.
Posting multiple times will not expedite the approval process.

Copyright © 1998-2012 Richard York, All Rights Reserved.