NFloat.IsInteger(NFloat) Yöntem

Tanım

Bir değerin tam sayı olup olmadığını belirler.

public:
 static bool IsInteger(System::Runtime::InteropServices::NFloat value) = System::Numerics::INumberBase<System::Runtime::InteropServices::NFloat>::IsInteger;
public static bool IsInteger (System.Runtime.InteropServices.NFloat value);
static member IsInteger : System.Runtime.InteropServices.NFloat -> bool
Public Shared Function IsInteger (value As NFloat) As Boolean

Parametreler

value
NFloat

Denetlenecek değer.

Döndürülenler

true bir tamsayıysa value ; değilse, false.

Uygulamalar

Açıklamalar

Bu yöntem kayan nokta değerlerini doğru şekilde işler ve bu nedenle 2.0 while 2.2 döndürür true ve 3.3 döndürürfalse.3.0

Şunlara uygulanır