MathObject::ceil Method (Double)

 

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

Calculates the ceiling of the specified number, which is the smallest integer that is greater than or equal to the specified number.

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

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::None, JSBuiltin::Math_ceil)]
static double ceil(
	double x
)

Parameters

x
Type: System::Double

The number to calculate the ceiling of.

Return Value

Type: System::Double

The ceiling of x.

.NET Framework
Available since 1.1
Return to top
Show: