Returns a value indicating whether the specified number evaluates to not a number (
NaN).
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static bool IsNaN(
float f
)
Parameters
- f
- Type: SystemSingle
A single-precision floating-point number.
Return Value
Type:
Booleantrue if
f evaluates to not a number (
NaN); otherwise, false.
See Also