Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Floor function (floor)

Greatest whole number not above a number.

How to write it

floor(x)

x
A number. Takes a number.

Examples

  • ⌊3.7⌋=3\displaystyle \lfloor 3.7 \rfloor = 3
    floor(3.7)

    In the solver, floor(3.7) gives 3.

    Open in the solver
  • ⌊−1.5⌋=−2\displaystyle \lfloor -1.5 \rfloor = -2
    floor(-1.5)

    In the solver, floor(-1.5) gives -2.

    Open in the solver
  • frac

    Fractional part of a number.

  • factorial

    Factorial: n! is the product of the whole numbers from 1 to n.

  • gcd

    Greatest common divisor of whole numbers.

  • exp

    Exponential function; exp(x) is the power e^x.

  • im

    Imaginary part of a complex number.

  • double_factorial

    Double factorial: n!! multiplies every second number down from n.