RE: [flexcoders] Simple arithmetic - resolved

2005-04-19 Thread Gordon Smith
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 4:09 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Simple arithmetic - resolved Question - shouldn't this have thrown an error, since I was casting the non-number variable as a number

Re: [flexcoders] Simple arithmetic - resolved

2005-04-18 Thread Tom Fitzpatrick
Solved - turns out I was applying a currency format to the variable before handing it to the function so it really was NaN. Question - shouldn't this have thrown an error, since I was casting the non-number variable as a number in the parameter statement, as varX:Number? - Tom At 04:43 PM

Re: [flexcoders] Simple arithmetic - resolved

2005-04-18 Thread Manish Jethani
On 4/18/05, Tom Fitzpatrick [EMAIL PROTECTED] wrote: Solved - turns out I was applying a currency format to the variable before handing it to the function so it really was NaN. Question - shouldn't this have thrown an error, since I was casting the non-number variable as a number in the

Re: [flexcoders] Simple arithmetic - resolved

2005-04-18 Thread JesterXL
, 2005 3:48 PM Subject: Re: [flexcoders] Simple arithmetic - resolved On 4/18/05, Tom Fitzpatrick [EMAIL PROTECTED] wrote: Solved - turns out I was applying a currency format to the variable before handing it to the function so it really was NaN. Question - shouldn't this have thrown an error

Re: [flexcoders] Simple arithmetic - resolved

2005-04-18 Thread Manish Jethani
On 4/19/05, JesterXL [EMAIL PROTECTED] wrote: A number is not a number? wtf, lol! trace(!isNaN(NaN)); // false ...crud, that means it is... but how can a number that's not a number be a number? Okay, I'll avoid getting into any language discussion by saying that I really meant that NaN