Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 4
System
Math Class
Math Methods
Ceiling Method
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
.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.

  NameDescription
Public methodStatic memberCeiling(Decimal)Returns the smallest integral value that is greater than or equal to the specified decimal number.
Public methodStatic memberCeiling(Double)Returns the smallest integral value that is greater than or equal to the specified double-precision floating-point number.
Top

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker