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

    Floor Function

    Usage

    Floor[x] gives the greatest integer less than or equal to x. 
Floor[x, a] gives the greatest multiple of a less than or equal to x.

    Basic examples

    Round down to the nearest integer:
In[1]:=Floor[2.4]
Out[1]=2
In[2]:=Floor[2.6]
Out[2]=2
Round down to the nearest multiple of 10:
In[1]:=Floor[226, 10]
Out[1]=220
Plot over a subset of the reals:
In[1]:=Plot[Floor[x, 10], {x, -30, 30}]
Out[1]=

    Notation

    ⌊...⌋

    Attributes

    Listable | NumericFunction | Protected | ReadProtected

    Relationships with other entities

    Ceiling | Round | IntegerPart | Chop | Piecewise | BinCounts | Quantile | FindDivisions

    Typical ranks of usage in programs

    121st most common (1 in 2650 symbols)

    188th most common (1 in 2930 symbols)

    275th most common (1 in 3650 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