Number Fundamentals & Precision

Floor Function Calculator

Find the greatest integer that is not greater than a decimal.

Exact arithmetic

Find the greatest integer below

Toward −∞

Floor

Enter valid values to see the result.

Your entries are calculated in this browser and are not submitted to 365CALCS.COM.

Quick guide

How to use this calculator

  1. Enter a finite decimal.
  2. Read the greatest integer less than or equal to it.
  3. Notice that negative values move toward negative infinity.

Calculation method

Floor points downward

An integer remains unchanged. A positive fractional value discards its fraction; a negative fractional value moves to the next lower integer.

Worked example

Floor of a negative decimal

−2 is the greatest integer that is no larger than −1.2.

floor(−1.2) = −2

Supported inputs

Precision and limits

Exact decimal input

Finite decimals use integer-scaled arithmetic, with no binary floating-point conversion.

Input boundary

Unless stated otherwise, use at most 200 digits total and 100 digits after the decimal marker.