For efficiency and often ease you should remember that :

kb = bitshrn(b,10);
mb = bitshrn(b,20);
etc...

- CrystalM
- www.efflare.com

--> Sunday, May 26, 2002, 9:10:51 AM, you wrote:

> Hi,

> I have a database of about 35,000 files with their filenames, sizes, ID tags
> and so on.  The guy who started this project wrote the sizes of the files as
> bytes - and I was wondering if anyone knew of a tag to convert bytes to
> MB/GB (if less than 1MB, make it a percentage of 1MB...ie. 0.9MB).  I had a
> look at devex.macromedia.com but couldn't see any.

> Many thanks

> Will

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to