GET TUTORING NEAR ME!

By providing your phone number, you consent to receive text messages from Club Z! for purposes related to our services. Message frequency may vary. Message and Data Rates may apply. Reply HELP for help or STOP to unsubscribe. See our Privacy Policy and our Terms and Conditions page

    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

    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