BigInteger.IsOddInteger(BigInteger) Metodo

Definizione

Determina se un valore rappresenta un numero integrale dispari.

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

Parametri

value
BigInteger

Restituisce

Boolean

true se è un intero dispari; in caso value contrario, false.

Implementazioni

Commenti

Questo metodo gestisce correttamente i valori a virgola mobile e 3.0 quindi restituirà true mentre 3.3 restituirà false.

Un valore restituito di false non implica che IsEvenInteger(TSelf) restituirà true. Un numero con una parte frazionaria, ad esempio , 3.3non è nemmeno o dispari.

Si applica a