Double.IsFinite(Double) 方法

定義

判斷指定的值是否為有限 (零、偏低或一般)。Determines whether the specified value is finite (zero, subnormal, or normal).

public:
 static bool IsFinite(double d);
public static bool IsFinite (double d);
static member IsFinite : double -> bool
Public Shared Function IsFinite (d As Double) As Boolean

參數

d
Double

雙精確度浮點數。A double-precision floating-point number.

傳回

如果值為有限 (零、偏低或一般),則為 true;否則為 falsetrue if the value is finite (zero, subnormal or normal); false otherwise.

適用於