Editar

Compartilhar via


Convert.CheckIfDoubleIsInteger(Double) Method

Definition

Determines whether a Double variable contains an integer value.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

d
Double

The Double to test.

Returns

If d contains an integer value, d is returned. If not, an exception is thrown.

Applies to