asp.net.ph

NumberFormatInfo.NaNSymbol Property

System.Globalization Namespace   NumberFormatInfo Class


Sets or retrieves the string that represents the IEEE NaN ( not a number ) value.

[ VB ]
public Property NaNSymbol As String

[ C# ]
public string NaNSymbol {get; set;}

[ C++ ]
public: __property String* get_NaNSymbol ( );
public: __property void set_NaNSymbol ( String* );

[ JScript ]
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".

Exceptions


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.

Remarks

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

Example

The below shows the NaNSymbol used for each of the available cultures.

 Show me 

See Also

NumberFormatInfo Members   NumberDecimalDigits   NumberDecimalSeparator   NumberGroupSeparator   NumberGroupSizes   NumberNegativePattern   CurrencySymbol   PercentSymbol   PerMilleSymbol Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note