NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Double.NaN

Represents the constant value of not a number (NaN).

[Visual Basic]
Public Const NaN As Double
[C#]
public const double NaN;
[C++]
public: const double NaN;
[JScript]
public var NaN : double;

Remarks

The NaN hexadecimal value of this constant is (double)0.0/(double)0.0.

Note false will be returned if . Not a number (NaN) should never be used for comparing (see CompareTo and Equals).

(In addition see CultureInfo, NumberFormatInfo, and NegativeInfinity.)

See Also

Double Structure | Double Members | System Namespace