This documentation is archived and is not being maintained.

NumberFormatInfo.NaNSymbol Property

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

[Visual Basic]
Public Property NaNSymbol As String
public string NaNSymbol {get; set;}
public: __property String* get_NaNSymbol();
public: __property void set_NaNSymbol(String*);
public function get NaNSymbol() : String;
public function set NaNSymbol(String);

Property Value

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


Exception Type Condition
ArgumentNullException The property is being set to a null reference (Nothing in Visual Basic).
InvalidOperationException The property is being set and the NumberFormatInfo is read-only.


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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

NumberFormatInfo Class | NumberFormatInfo Members | System.Globalization Namespace | NumberDecimalDigits | NumberDecimalSeparator | NumberGroupSeparator | NumberGroupSizes | NumberNegativePattern | CurrencySymbol | PercentSymbol | PerMilleSymbol