KiloAtlas
EN
EnglishBahasa IndonesiaTiếng Việt

Floor Function Calculator

Find the greatest integer less than or equal to a real number, including negative values.

Floor

3

Formula

floor(x)=max{n∈ℤ : n≤x}.

Floor ≈ (3)((3.7))

How to use

  1. Enter a real number x.
  2. Keep its sign.
  3. Read its integer floor.

Examples

  • floor(3.7)=3; floor(−3.7)=−4.

Frequently asked questions

Is floor the nearest integer?

No. It always rounds toward negative infinity.

What happens to negative values?

For example, floor(−3.7)=−4, not −3.

Do integers change?

No. Every integer, including zero, is its own floor.

Sources

Updated:

Related tools

Search conversion tools