Mono Class Library: System.Globalization.NumberFormatInfo Overview | Members

System.Globalization.NumberFormatInfo.NaNSymbol Property

Gets or sets the symbol that represents NaN (Not-a-Number) floating-point values. [Edit]

public string NaNSymbol { set; get; }

Value

A string containing the symbol for NaN values. [Edit]

Exceptions

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

Remarks

The culture-invariant value for this property is "NaN".

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

[Edit]

Requirements

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