On Tuesday 20 September 2005 21:07, Wurst, Keith D. wrote:
> Hi everyone. I have a quick question. I am trying to convert a varchar
> (in a sql database) to a value that I can perform math functions on in
> Cold Fusion. Any help would be greatly appreciated. Thanks.
> Keith

Does the following not work:

<cfquery name="qA" ...
select 1 as number from dual
</cfq...
<cfset b=qA[1].number + 1
<cfoutput>#b#</cfoutput>

?
-- 

Tom Chiverton 
Advanced ColdFusion Programmer

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218782
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to