Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Number Object NaN Property

A special value that indicates an arithmetic expression returned a value that was not a number.

Syntax: JScript Number Object NaN Property

Number.NaN

Arguments: JScript Number Object NaN Property

number

The Number object.

Remarks: JScript Number Object NaN Property

The Number object does not have to be created before the NaN property can be accessed.

NaN does not compare equal to any value, including itself. To test if a value is equivalent to NaN, use the isNaN function.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.