Export (0) Print
Expand All

Math.Ceiling Method

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

Name Description
Math.Ceiling (Decimal) Returns the smallest integer greater than or equal to the specified decimal number.
Math.Ceiling (Double) Returns the smallest integer greater than or equal to the specified double-precision floating-point number.

Supported by the .NET Compact Framework.

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

Community Additions

ADD
Show:
© 2014 Microsoft