Convert.CheckIfDoubleIsInteger(Double) Metodo

Definizione

Determina se una variabile Double contiene un intero.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 static double CheckIfDoubleIsInteger(double d);
public static double CheckIfDoubleIsInteger (double d);
static member CheckIfDoubleIsInteger : double -> double
Public Shared Function CheckIfDoubleIsInteger (d As Double) As Double

Parametri

d
Double

Oggetto Double da verificare.

Restituisce

Se d contiene un intero, viene restituito d. In caso contrario, viene generata un'eccezione.

Si applica a