<cfset kb = 1273998 / 1024> <cfset mb = kb / 1024> <cfoutput> <br />#kb#Kb #(round(kb * 100)) / 100#Kb <br />#mb#Mb #(round(mb * 100)) / 100#Mb </cfoutput>
-----Original Message----- From: Paul Ihrig [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 11:37 AM To: CF-Talk Subject: GetFileInfo MB or kb - bytes formating? #GetFileInfo("C:/Inetpub/wwwroot/literature/pdf/#GetSectionsLit.lit_pdf#").s ize# this out puts bytes with no formating. 1273998 how would i get it to be 1.27 MB and say it was 273998 for it to show 27.3 kb would i do an if statement to LEN 7 and surround it with number format. seems like alot of noddling... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301578 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

