Convert Form result to a number
Hello,
I need to take the value submitted in a form and add 99 to it. I first tried:
<cfset channel.type = 'Form[P#c#Channel]' + 99>
That failed since the form value is a string not a number.
Then I tried:
<cfset channel.type = LSParseNumber('Form[P#c#Channel]') + 99> and got
Form[P1Channel] must be interpretable as a valid number in the current locale.
How can I change the submitted value to a number that I can perform addition on?
Thanks!
Gary

