Table of Contents

Class Ceiling

Namespace
YndigoBlue.Velocity.Functions
Assembly
YndigoBlue.Velocity.dll

Represents the CEILING mathematical function that rounds a number up to the nearest integer.

public class Ceiling : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
Inheritance
Ceiling
Implements

Remarks

The CEILING function returns the smallest integer greater than or equal to the input value. For example, CEILING(4.3) returns 5, CEILING(-4.7) returns -4. This is useful for allocation calculations, pagination, or ensuring minimum quantities when rounding up is required.

Constructors

Ceiling(IEnumerable<IElement>)

Initializes a new instance of CEILING for multiple elements.

Ceiling(IElement)

Initializes a new instance of CEILING for a single element.