Ok, actually looking at your code you are replacing comma's.
You may
need to add a val() function around that to force the
conversion from
string to number.
Ian Skinner wrote:
> It's not a number, it is a string, it has a comma in it.
>
> You will need to do something to remove the comma if you
want it to be a
> number. A large hammer way to do this is with replace.
>
> #replace('115,223.60',',','','ALL')#
>
> Boy that is a bit confusing isn't it. Make sure you get
all the quotes
> and commas matched up correctly.
>
> PackinDaMAC wrote:
>> I have this value "115,223.39" in my database when
it tries to pull
>> this data i get this message.
>>
>> The value "115,223.39" cannot be converted to a
number....Any help on
>> this
>>
>>
>>
>>
>> <cfset res.endingar = Replace(res.endingar, ",",
"", "all")>
>>
>> <cfchart format="jpg" chartheight="400"
chartwidth="800">
>> <cfchartseries type="line"
colorlist="008800,00cc00, 000088,
>> 0000cc">
>>
>> <cfloop query="res">
>> <cfchartdata item="#res.themonth#"
value="#Int(res.endingar)#">
>> </cfloop>
>>
>> </cfchartseries>
>>
>> </cfchart>
>> </cfoutput>
>>