MathObject.abs(Double) Methode

Definitie

Berekent de absolute waarde van het opgegeven getal.

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

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

Parameters

d
Double

Het getal voor het berekenen van de absolute waarde van.

Retouren

De absolute waarde van d.

Kenmerken

Van toepassing op