Floor Method

Math.Floor Method

 

Returns the largest integer less than or equal to the specified number.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticFloor(Decimal)

Returns the largest integer less than or equal to the specified decimal number.

System_CAPS_pubmethodSystem_CAPS_staticFloor(Double)

Returns the largest integer less than or equal to the specified double-precision floating-point number.

The behavior of this method follows IEEE Standard 754, section 4. This kind of rounding is sometimes called rounding toward negative infinity.

Return to top
Show:
© 2016 Microsoft