DecimalMath.Ceiling Method

Returns the smallest integral value that is greater than or equal to the specified decimal number.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static decimal Ceiling(
	decimal value
)

Parameters

value  Decimal
A decimal number.

Return Value

Decimal
The smallest integral value that is greater than or equal to value. Note that this method returns a System.Decimal instead of an integral type.

See Also