Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Math.Floor Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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:
© 2018 Microsoft