...

View Full Version : Determining NaN



Eternity Angel
03-01-2003, 07:29 PM
I saw this a LONG time ago, and didn't write it down, because I didn't need it at the time, so of course when I DO need it, I think I am an idiot.

Anyways, how would I check if a value is equal to NaN?

typeof() returns "number", but of course, it's NOT a number...

joh6nn
03-01-2003, 07:49 PM
http://www.devguru.com/Technologies/ecmascript/quickref/isnan.html

Eternity Angel
03-01-2003, 07:57 PM
And of course it'd be something as simple as that :-p

Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum