Ceiling Method

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