Convert.CheckIfDoubleIsInteger(Double) Metodo

Definizione

Determina se una Double variabile contiene un valore 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 testare.

Valori restituiti

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

Si applica a