[Javascript] NaN

Iztok Polanic iztokp at amis.net
Wed Nov 20 04:43:47 CST 2002


Hi!

I was trying to catch NaN (Not a Number) via
x = Number(something);
if (x == "NaN") {
...
}
and it does not work. Why? I'm using IE 6.0 and JS 1.5. Can somebody tell me
what cained of error is IE 5.x throwing back to user?
TNX!

Bye,

Iztok




More information about the Javascript mailing list