.NET Framework Class Library
Math.Ceiling Method
Returns the smallest integer greater 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.
Overload List
| Name | Description | |
|---|---|---|
|
Ceiling(Decimal) | Returns the smallest integral value that is greater than or equal to the specified decimal number. |
|
Ceiling(Double) | Returns the smallest integral value that is greater than or equal to the specified double-precision floating-point number. |
Remarks
The behavior of this method follows IEEE Standard 754, section 4. This kind of rounding is sometimes called rounding toward positive infinity.
See Also
