# Ceiling function (ceil)

Least whole number not below a number.

## How to write it

### ceil(x)

**x**

A number. Takes a number.

## Examples

- $\displaystyle \lceil 3.2 \rceil = 4$

  `ceil(3.2)`

  In the solver, `ceil(3.2)` gives `4`.

  [Open in the solver](https://hilberon.com/?q=ceil%283.2%29)

## Related functions

- [conj](https://hilberon.com/library/conj)

  Complex conjugate.
- [binomial](https://hilberon.com/library/binomial)

  Binomial coefficient: the ways to choose k items out of n.
- [divide](https://hilberon.com/library/divide)

  A quotient: the function form of /.
- [arg](https://hilberon.com/library/arg)

  Argument of a complex number: its angle in radians.
- [double_factorial](https://hilberon.com/library/double_factorial)

  Double factorial: n!! multiplies every second number down from n.
- [abs](https://hilberon.com/library/abs)

  Absolute value of a number, or modulus of a complex one.

---
Source: https://hilberon.com/library/ceil
