You don't need to convert a string to a number in CF as the variables are typeless.  
IOW you can have:

<cfset a="1234">

<cfset a=a+a>

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - The Intelligent Mail Server
>>> Find out how iMS Stacks up to the competition: 
>http://www.coolfusion.com/imssecomparison.cfm

----- Original Message -----
From: "Roberto Esteves" <[EMAIL PROTECTED]>
To: "CF-Server" <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 10:32 AM
Subject: HELP


> I need to convert a string to a number
>
>
> Example :
> a="1234"
>
> and i need to sum a + a
>
> How i can change this ?
>
> Atte.
> Roberto Esteves
> Ecuador
>
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to