CASTI-89 TITANIUM · CALC89
ceiling(
Returns the smallest integer that is greater than or equal to a value.
Syntax
ceiling(expr)
- Group
- Number functions
- Arguments
- Takes one value.
- Availability
- Included
Example
| Input | Result |
|---|---|
| ceiling(2.1) | 3.0 |
Typing ceiling(2.1) on the home screen and pressing ENTER returns 3.0.
Related commands
- conj(Returns the complex conjugate of a number, with the sign of the imaginary part changed.
- entry(Recalls a previous entry from the home screen history so it can be evaluated again.
- floor(Returns the largest integer that is less than or equal to a value.
- fPart(Returns the fractional part of a number, the part after the decimal point.
- gcd(Returns the greatest common divisor of two integers.
- imag(Returns the imaginary part of a complex number.
- iPart(Returns the integer part of a number, truncated toward zero.
- lcm(Returns the least common multiple of two integers.