NFloat.IsInteger(NFloat) Metodo

Definizione

Determina se un valore rappresenta un numero integrale.

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

Parametri

value
NFloat

Valore da controllare.

Restituisce

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.2true e 3.3 restituirà false.3.0

Si applica a