Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Ceiling Method

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