Cheers James, it's an answer at least.

russ 

-----Original Message-----
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: 12 February 2006 12:13
To: CF-Talk
Subject: Re: Decimal places

This will fix up large numbers in scientific notation, while leaving alone
anything that has something after the decimal point (which is highly
unlikely in the large numbers so all should be well):

<cfif theNumberToFormat eq Fix(theNumberToFormat)>
  <cfset MyShownNumber =NumberFormat(theNumberToFormat, "9")> <cfelse>
  <cfset MyShownNumber = theNumberToFormat> </cfif>


On 2/12/06, Snake <[EMAIL PROTECTED]> wrote:
> Barney,
>
> I'm not sure why your not sure, I think I explained it pretty well.
>
> > My problem is that I need to display the original number in it's 
> > original format unchanged.
--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232069
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to