Convert.CheckIfSingleIsInteger(Single) Método

Definição

Determina se uma variável Single contém um valor inteiro.Determines whether a Single variable contains an integer value.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

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

Parâmetros

s
Single

O Single a ser testado.The Single to test.

Retornos

Single

Se s contiver um valor inteiro, s será retornado.If s contains an integer value, s is returned. Caso contrário, uma exceção será gerada.If not, an exception is thrown.

Aplica-se a