Is the reason that you want to convert the variable to
a number only because you want to be able to add the
variables together?  If so, to add two variables
together, it is not necessary to convert they to a
number.
<CFSET a = "1234">
<CFSET x = a + a>
<CFOUTPUT>#x#</CFOUTPUT>

The variable x would output: 2468


--- Roberto Esteves <[EMAIL PROTECTED]> wrote:
> 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
> 
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
------------------------------------------------------------------------------
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