MathObject::abs Method (Double)

 

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

Calculates the absolute value of the specified number.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::None, JSBuiltin::Math_abs)]
static double abs(
	double d
)

Parameters

d
Type: System::Double

The number to calculate the absolute value of.

Return Value

Type: System::Double

The absolute value of d.

.NET Framework
Available since 1.1
Return to top
Show: