Click or drag to resize
SingleIsNaN Method
Returns a value indicating whether the specified number evaluates to not a number (NaN).

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static bool IsNaN(
	float f
)

Parameters

f
Type: SystemSingle
A single-precision floating-point number.

Return Value

Type: Boolean
true if f evaluates to not a number (NaN); otherwise, false.
See Also