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!

Single.IsNaN

Determines whether the specified object is not a number (NaN).

[Visual Basic]
Public Shared Function IsNaN( _
   ByVal f As Single _
) As Boolean
[C#]
public static bool IsNaN(
   float f
);
[C++]
public: static bool IsNaN(
   float f
);
[JScript]
public static function IsNaN(
   f : float
) : Boolean;

Parameters

f
The object to examine.

Return Value

true if the object is not a number; otherwise, false.

Remarks

The default value of NaN is zero.

See Also

Single Structure | Single Members | System Namespace | CultureInfo | NumberFormatInfo | IsInfinity | IsNegativeInfinity | PositiveInfinity | NegativeInfinity | NaN