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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph