[flexcoders] how to convert string to number

2006-10-16 Thread Akash
Hi, I am new to flex 1.5. I searched a lot for this conversion but didnt get anything helpful. Actually I am accepting text from the TextInput which accepts only the number. So I want to convert it to the number but how to do it in flex? Akash, __._,_.___ -- Flexcoders

Re: [flexcoders] how to convert string to number

2006-10-16 Thread Harish Sivaramakrishnan
you can do one of these:Number(textinput.text)ORparseInt(textinput.text)On 10/16/06, Impudent1 [EMAIL PROTECTED] wrote:Akash wrote: Hi,I am new to flex 1.5. I searched a lot for this conversion but didn't get anything helpful. Actually I am acceptingtext from the TextInput which accepts only