Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL function reference » Alphabetical list of functions

 

CEILING function [Numeric]

Returns the ceiling of a number.

Syntax
CEILING( numeric-expression )
Parameters
  • numeric-expression   The number whose ceiling is to be calculated.

Remarks

The CEILING function returns the first integer that is greater or equal to a given value. For positive numbers, this is also known as rounding up.

This function converts its argument to DOUBLE, performs the computation in double-precision floating point, and returns a DOUBLE as the result.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement returns the value 60.

SELECT CEILING( 59.84567 );