Export (0) Print
Expand All

Math.Floor Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member Floor(Decimal) Returns the largest integer less than or equal to the specified decimal number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Floor(Double) Returns the largest integer less than or equal to the specified double-precision floating-point number.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft