CEIL

Represents the SQLite CEIL() or CEILING() function, which rounds a number up to the next highest integer.

For example, CEIL(5.1) returns 6, CEIL(-5.1) returns -5, and CEIL(5.0) returns 5.

The result is returned as an integer type (Long). If the input is null or a value that cannot be converted to a number, the result is null.

Return

A KQLiteColumn of type Long with the rounded-up integer value.

Author

MOHAMMAD AZIM ANSARI

Parameters

x

The column containing the numeric value to round up.

See also