NaNSymbol Property

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)

'Declaration
Public Property NaNSymbol As String

Property Value

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

ExceptionCondition
ArgumentNullException

The property is being set to Nothing.

InvalidOperationException

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

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft