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;
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.)