DecimalFormat.NotANumber PropertyDecimalFormat.NotANumber PropertyDecimalFormat::NotANumber Property

Gets or sets the string used for the NaN-symbol, which is used to represent the value NaN (not-a-number).

Syntax

Public Property NotANumber As String
        Get
        Set(ByVal value As String)
public string NotANumber { get; set; }
public:
property String^ NotANumber {
    String^ get();
    void set(String^ value);
}
 

Property Value

Type: System.StringSystem.StringSystem::String^

The NaN string.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionRaised if NotANumberNotANumberNotANumber is set to null a null reference (Nothing in Visual Basic) nullptr.

Remarks

The default value is "NaN".