NumberFormatInfo.NaNSymbol Property

Definition

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

public string NaNSymbol { get; set; }
Property Value

The string that represents the IEEE NaN (not a number) value. The default for InvariantInfo is "NaN".

Exceptions

The property is being set to null.

The property is being set and the NumberFormatInfo object is read-only.

Remarks

For more information on NaN values, see Double or Single.