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? I'm confused now... ----- Original Message ----- From: "Manish Jethani" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, April 18, 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, since I was casting the > non-number variable as a number in the parameter statement, as > varX:Number? NaN is of type Number, AFAIK. -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

