Convert.CheckIfSingleIsInteger(Single) Metodo

Definizione

Determina se una Single variabile contiene un valore intero.

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

public:
 static float CheckIfSingleIsInteger(float s);
public static float CheckIfSingleIsInteger(float s);
static member CheckIfSingleIsInteger : single -> single
Public Shared Function CheckIfSingleIsInteger (s As Single) As Single

Parametri

s
Single

Oggetto Single da testare.

Valori restituiti

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

Si applica a