Half.IsInteger(Half) Metodo

Definizione

Determina se un valore rappresenta un valore integrale.

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

Parametri

value
Half

Valore da controllare.

Valori restituiti

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

Implementazioni

Commenti

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

Si applica a