MathObject::floor Method (Double)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Calculates the floor of the specified number, which is the largest integer that is less than or equal to the specified number.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
public: [JSFunctionAttribute(JSFunctionAttributeEnum::None, JSBuiltin::Math_floor)] static double floor( double x )
Parameters
- x
-
Type:
System::Double
The number to calculate the floor of.
.NET Framework
Available since 1.1
Available since 1.1
Show: