MathObject.floor(Double) Methode

Definitie

Berekent de vloer van het opgegeven getal, het grootste gehele getal dat kleiner is dan of gelijk is aan het opgegeven getal.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

public:
 static double floor(double x);
[Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Math_floor)]
public static double floor(double x);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Math_floor)]
public static double floor(double x);
[<Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Math_floor)>]
static member floor : double -> double
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Math_floor)>]
static member floor : double -> double
Public Shared Function floor (x As Double) As Double

Parameters

x
Double

Het getal om de vloer van te berekenen.

Retouren

De vloer van x.

Kenmerken

Van toepassing op

Zie ook