> 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?
Divide by 1000000, then print it with the appropiete number of decimal
points (LSNumberFormat (number,"99.9") or something )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists