MathCeiling Method (Decimal) |
Returns the smallest integral value that is greater than or equal to the specified decimal number.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static decimal Ceiling(
decimal d
)
Parameters
- d
- Type: SystemDecimal
A decimal number.
Return Value
Type:
DecimalThe 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