System.Globalization.NumberFormatInfo.NaNSymbol Property

Gets or sets the string that represents the IEEE NaN (not a number) value.

Syntax

public string NaNSymbol { get; set; }

Value

A string containing the symbol for NaN values.

Exceptions

TypeReason
ArgumentNullExceptionThe value specified for a set operation is a null reference.
InvalidOperationExceptionThe current instance is read-only and a set operation was attempted.

Remarks

For more information on NaN values, see double or float.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0