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.Ceiling Method

 

Returns the smallest integer greater than or equal to the specified number.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCeiling(Decimal)

Returns the smallest integral value that is greater than or equal to the specified decimal number.

System_CAPS_pubmethodSystem_CAPS_staticCeiling(Double)

Returns the smallest integral value that is greater 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 positive infinity.

Return to top
Show:
© 2016 Microsoft