Click or drag to resize
MathCeiling Method (Decimal)
Returns the smallest integral value that is greater than or equal to the specified decimal number.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static decimal Ceiling(
	decimal d
)

Parameters

d
Type: SystemDecimal
A decimal number.

Return Value

Type: Decimal
The smallest integral value that is greater than or equal to d. Note that this method returns a Decimal instead of an integral type.
See Also