BigInteger.IsOddInteger(BigInteger) Yöntem

Tanım

Bir değerin tek integralli bir sayıyı temsil eder olup olmadığını belirler.

public:
 static bool IsOddInteger(System::Numerics::BigInteger value) = System::Numerics::INumberBase<System::Numerics::BigInteger>::IsOddInteger;
public static bool IsOddInteger (System.Numerics.BigInteger value);
static member IsOddInteger : System.Numerics.BigInteger -> bool
Public Shared Function IsOddInteger (value As BigInteger) As Boolean

Parametreler

value
BigInteger

Döndürülenler

Boolean

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

Uygulamalar

Açıklamalar

Bu yöntem kayan nokta değerlerini doğru işler ve bu nedenle 3.0 döndürürken true 3.3 döndürür false.

değerinin false dönüş değeri döndüreceği IsEvenInteger(TSelf) trueanlamına gelmez. Kesirli kısmı olan bir sayı, örneğin, 3.3çift veya tek değildir.

Şunlara uygulanır