] On
Behalf Of Sid Maskit
Sent: Friday, August 01, 2008 2:54 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] NaN and Infinity showing in output - How to
modify?
"Eww," eh? Well, gee, Tom, I hope I didn't spoil your breakfast or
anything ;)
I think both your refactorings
Original Message
From: Tom Chiverton <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, August 1, 2008 5:04:56 AM
Subject: Re: [flexcoders] NaN and Infinity showing in output - How to modify?
On Thursday 31 Jul 2008, Sid Maskit wrote:
> http://groups.yahoo.com/gro
On Thursday 31 Jul 2008, Sid Maskit wrote:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*>
Date: Thu, 31 Jul 2008 09:43:06 -0700 (PDT)
To:
Subject: Re: [flexcoders] NaN to return a string?
Sure, just replace the 0 with whatever text you want, putting it inside
single quotes since the entire statement is inside of double quotes. Since
you are setting the value of a label, what ev
:28:51 -0700 (PDT)
To:
Subject: Re: [flexcoders] NaN and Infinity showing in output - How to
modify?
How about:
sNaN(mynumber) ? 0 : ""
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: Blair Cox <[EMAIL P
for a Better World
http://www.CraftySpace.com
blog: http://smaskit.blogspot.com/
- Original Message
From: Blair Cox <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, July 31, 2008 9:27:02 AM
Subject: Re: [flexcoders] NaN to return a string?
Turns out showing
ly 31, 2008 9:37:19 AM
Subject: Re: [flexcoders] NaN and Infinity showing in output - How to modify?
Try something like this:
Note that you need to give the Label component and id, and use that id to refer
to it in your statements within braces.
By the way, as you are no doubt noticing, the l
Space.com
blog: http://smaskit.blogspot.com/
- Original Message
From: Blair Cox <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, July 31, 2008 9:19:46 AM
Subject: Re: [flexcoders] NaN and Infinity showing in output - How to modify?
Just one more question. The zero works fo
How about:
sNaN(mynumber) ? 0 : ""
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: Blair Cox <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, July 31, 2008 5:19:46 PM
Subject: Re: [fle
TED]>
Reply-To:
Date: Thu, 31 Jul 2008 07:51:38 -0700 (PDT)
To:
Subject: Re: [flexcoders] NaN and Infinity showing in output - How to
modify?
If the format function is a custom function you have written, you could just
have it check whether you like the result it is about to return, and
:
--
Blair Cox
http://www.luminultra.com
From: Sid Maskit <[EMAIL PROTECTED]>
Reply-To:
Date: Thu, 31 Jul 2008 07:51:38 -0700 (PDT)
To:
Subject: Re: [flexcoders] NaN and Infinity showing in output - How to
modify?
If the format function is a custom function you have writte
ct: Re: [flexcoders] NaN and Infinity showing in output - How to
modify?
If the format function is a custom function you have written, you could just
have it check whether you like the result it is about to return, and if not,
return something else. If that is not the case, I believe that you
modify or create a custom function?
What I have now is simply:
--
Blair Cox
http://www.luminultra.com
From: Sid Maskit <[EMAIL PROTECTED]>
Reply-To:
Date: Thu, 31 Jul 2008 07:51:38 -0700 (PDT)
To:
Subject: Re: [flexcoders] NaN and Infinity showing in output - How to
modify?
If the format function is a custom function you have written, you could just
have it check whether you like the result it is about to return, and if not,
return something else. If that is not the case, I believe that you should be
able to put tests into your binding statement.
You could test f
in Simard
> Analyst Technique web | Web Technical Analyst
> Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4
> Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4
> Gouvernement du Canada | Government of Canada
> [EMAIL PROTECTED]
> 613-947-0582 | tél
Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4
Gouvernement du Canada | Government of Canada
[EMAIL PROTECTED]
613-947-0582 | télécopieur / facsimile 613-996-9416
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Geoffrey Williams
Sent: Tu
if (myField == undefined) { //... }
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Simard, Ghislain
Sent: Tuesday, August 02, 2005 2:47 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] NaN
Is there an equivalent for unde
Canada
[EMAIL PROTECTED]
613-947-0582 | télécopieur / facsimile 613-996-9416
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Manish Jethani
Sent: Tuesday, August 02, 2005 2:42 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] NaN
On 8
On 8/2/05, Ghislain Simard <[EMAIL PROTECTED]> wrote:
> The following condition doesn't see the NaN...why ? and how to make
> the condition working?
>
> if (myField == NaN){
> dosomething;
> }
Use this:
if (isNaN(myField))
...
There's some interesting things about NaN. See this post, for
19 matches
Mail list logo