NumberFormatInfo.NaNSymbol Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)

Syntax

Public Property NaNSymbol As String
public string NaNSymbol { get; set; }

Property Value

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

Exceptions

Exception Condition
ArgumentNullException

The property is being set to nullNothingnullptra null reference (Nothing in Visual Basic).

InvalidOperationException

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

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

NumberFormatInfo Class

System.Globalization Namespace

NumberDecimalDigits

NumberDecimalSeparator

NumberGroupSeparator

NumberGroupSizes

NumberNegativePattern

CurrencySymbol

PercentSymbol

PerMilleSymbol