I have a file upload application, and i store the size of the file into a
database. The number is something like this: 12034806

How can i convert this number to 12.0MB?

I found #LSNumberFormat(InSol.Filesize,"___,___,___")# to add commas, but
i cant find any obvious way of converting it to 12.0 MB.

Thanks,
Chad


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to