Retrieves and assigns the string used to represent the IEEE NaN (not a number) value.
[Visual Basic] Public Property NaNSymbol As String [C#] public string NaNSymbol {get; set;} [C++] public: __property String* get_NaNSymbol(); public: __property void set_NaNSymbol(String*); [JScript] public function get NaNSymbol() : String; public function set NaNSymbol(String);
Read/write. The string used to represent NaN values. The default value is 'NaN'.
Exception Type | Condition |
---|---|
ArgumentException | value to assign is null. |
InvalidOperationException | This NumberFormatInfo object is read-only and an attempt is made to assign a value. |
Assignment is not allowed if this NumberFormatInfo object is read-only.
NumberFormatInfo Class | NumberFormatInfo Members | System.Globalization Namespace