Get Math Help

GET TUTORING NEAR ME!

(800) 434-2582

By submitting the following form, you agree to Club Z!'s Terms of Use and Privacy Policy

    Home / Get Math Help

    Ceiling Function

    Usage

    Ceiling[x] gives the smallest integer greater than or equal to x. 
Ceiling[x, a] gives the smallest multiple of a greater than or equal to x.

    Basic examples

    Round up to the nearest integer:
In[1]:=Ceiling[2.4]
Out[1]=3
In[2]:=Ceiling[2.6]
Out[2]=3
Round up to the nearest multiple of 10:
In[1]:=Ceiling[226, 10]
Out[1]=230
Plot the function over a subset of the reals:
In[1]:=Plot[Ceiling[x], {x, -3, 3}]
Out[1]=

    Notation

    ⌈ selection placeholder ⌉

    Attributes

    Listable | NumericFunction | Protected | ReadProtected

    Relationships with other entities

    Floor | IntegerPart | FractionalPart | Round | Chop | BinCounts | Quantile | FindDivisions

    Relationships with other entities

    Typical ranks of usage in programs

    395th most common (1 in 16600 symbols)

    265th most common (1 in 6250 symbols)

    478th most common (1 in 7310 symbols)

    History

    introduced in Version 1 (June 1988)
last modified in Version 6 (May 2007)

    Timeline

    Timeline

    Back to List | POWERED BY THE WOLFRAM LANGUAGE