CEIL function

CEIL function

Function Name Description Usage Input parameter Return value
CEIL Computes the smallest integer that is greater than or equal to the given input. CEIL() N/A An integer.

Supported data type

The CEIL function supports the following data types:

  • Double

Example: Find the ceiling of a number.

Sample data: $var1$ = {3.4}

Usage: $var1$.CEIL()

Find the ceiling of var1.

Output: 4

Recommendation

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月09日 UTC.