[thelist] ASP/VBScript Byte conversion

Canfield, Joel JCanfield at PacAdvantage.org
Thu Jul 21 16:07:17 CDT 2005

> I'm using the ASP File Object to return the size of a PDF in 
> bytes. I want
> to convert and display the size in MB/KB/Bytes, depending on the size.

Are you talking about the mathematical conversion, just dividing by 1024
from bytes to kilobytes, the same from kilobytes to megabytes? Or are
you looking for more than that?


More information about the thelist mailing list