user
user

Reputation: 165

Flex 4 - How to check NumericStepper value is NaN or not?

I am using NumericStepper in my application. I want to check the NumericStepper is NaN or not? And I don't want to check like (!value). This is one of the restriction for my application. So I have to check exactly NumericStepper value is NaN or not.

Upvotes: 0

Views: 726

Answers (2)

Jiya1491
Jiya1491

Reputation: 26

You can also check by "NaN" ...

NaN is Number Constant...so u can check your value...

Upvotes: 0

Ivan Nikolov
Ivan Nikolov

Reputation: 235

There is a isNaN function which checks exactly what you need.

Check here for more info: http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00000571.html

Upvotes: 2

Related Questions