FLOOR.MATH function

This article describes the formula syntax and usage of the FLOOR.MATH function (function: A prewritten formula that takes a value or values, performs an operation, and returns a value or values. Use functions to simplify and shorten formulas on a worksheet, especially those that perform lengthy or complex calculations.) in Microsoft Excel.

Description

Round a number down to the nearest integer or to the nearest multiple of significance.

Syntax

FLOOR.MATH(number, significance, mode)

The FLOOR.MATH function syntax has the following arguments.

  • Number    Required. The number to be rounded down.
  • Significance    Optional. The multiple to which you want to round.
  • Mode    Optional. The direction (toward or away from 0) to round negative numbers.

Remarks

  • By default, positive numbers with decimal portions are rounded down to the nearest integer. For example, 6.3 is rounded down to 6, using the default Significance (1).
  • By default, negative numbers with decimal portions are rounded away from 0 to the nearest integer. For example, -6.7 is rounded to -7.
  • By using 0 or a negative number as the Mode argument, you can change the direction of the rounding for negative numbers. For example, rounding -6.3 with a Significance of 1 and a Mode of -1 rounds toward 0, to -6.
  • The Significance argument rounds the number down to the nearest integer that is a multiple of the significance specified. The exception is where the number to be rounded is an integer. For example, for a Significance of 3, the number is rounded down to the next integer that is a multiple of 3.
  • If Number divided by a Significance of 2 or greater results in a remainder, the result is rounded down.

Example

The workbook below shows examples of this function. Inspect them, change existing formulas, or enter your own formulas to learn how the function works.

To work more in-depth with the example data in Excel, download the embedded workbook to your computer, and then open it in Excel.

Top of Page Top of Page

 
 
Applies to:
Excel 2013, Excel Online