NumberFormatInfo.NaNSymbol 属性
定义
获取或设置表示 IEEE NaN(非数字)值的字符串。Gets or sets the string that represents the IEEE NaN (not a number) value.
public:
property System::String ^ NaNSymbol { System::String ^ get(); void set(System::String ^ value); };
public string NaNSymbol { get; set; }
member this.NaNSymbol : string with get, set
Public Property NaNSymbol As String
属性值
表示 IEEE NaN(非数字)值的字符串。The string that represents the IEEE NaN (not a number) value. InvariantInfo 默认为“NaN”。The default for InvariantInfo is "NaN".
例外
该属性设置为 null
。The property is being set to null
.
设置了该属性,但 NumberFormatInfo 对象为只读。The property is being set and the NumberFormatInfo object is read-only.
注解
有关 NaN 值的详细信息,请参阅 Double 或 Single 。For more information on NaN values, see Double or Single.