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 4/17/2005, you wrote: >Manish and Abdul - Thanks. I'll keep looking... > >- Tom > >At 03:53 PM 4/17/2005, you wrote: > >I verified that the function returns correct values. You have a > >problem somewhere else. > > > > > > >---------- >Yahoo! Groups Links > * To visit your group on the web, go to: > * > <http://groups.yahoo.com/group/flexcoders/>http://groups.yahoo.com/group/flexcoders/ > > > * > * To unsubscribe from this group, send an email to: > * > <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] > > * > * Your use of Yahoo! Groups is subject to the > <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service. 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/

