Convert.CheckIfDoubleIsInteger(Double) Metod

Definition

Avgör om en Double variabel innehåller ett heltalsvärde.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

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

Parametrar

d
Double

Att Double testa.

Returer

Om d innehåller ett heltalsvärde d returneras. Annars utlöses ett undantag.

Gäller för