This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Convert a floating-point variable or expression into an integer-class value, by returning the smallest integer value that is greater than or equal to its argument.
Syntax
n = CEIL(numeric_expression)
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
numeric_expression |
Number |
No |
Any numeric expression |
Remarks
The CEIL function rounds upward, returning the smallest integral value that is greater than or equal to numeric_expression.
For example, y = CEIL(1.5) places the value 2 into y.
Restrictions
See also
Numeric functions, INT, FRAC, FIX, ROUND,
Examples