Condividi tramite


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

Restituisce

Boolean

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

Implementazioni

Commenti

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

Si applica a