Or, 

<cfset num = Round(123456789/10000000)/10 & "MB">

Probably 100 ways to do this.  I don't know which way is faster.

Brian

-----Original Message-----
From: Clint Tredway [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 10:41 AM
To: CF-Talk
Subject: Re: converting a number to XXMB


what about doing this:
<cfset num = Left(numbervar,2) & ".0mb">

or something similar... this would be a place to start...

--
Clint Tredway
www.factorxsoftware.com
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to