Shouldn't that be

<%=FormatNumber(objFile.Size/1048576, 2)%>

1048576 = (1024 * 1024)

-----Original Message-----
From: jake williamson [mailto:jake.williamson@;28design.com] 
Sent: Friday, November 08, 2002 7:50 AM
To: ActiveServerPages
Subject: sorted! Re: showing file size in meg

wow!

thanks for the responses - each works and it's good to see the 
different ways codes put together (it's like photoshop - theres a 
million different ways of achieving the same thing, it's finding the 
one thats good for you!)

the one i've gone for (for this project) is:

<%=FormatNumber(objFile.Size/1000000, 2)%>

works a treat.

thanks out there,

jake

---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to