Floor math
FLOOR.MATH Function¶
The FLOOR.MATH function in Excel is used to round a number down to the nearest specified multiple. This function
provides additional flexibility compared to the basic FLOOR function, allowing better control over how rounding
behaves with negative numbers.
Syntax:¶
FLOOR.MATH(number, [significance], [mode])
- number: The numeric value that you want to round down.
- significance (optional): The multiple to which the number is rounded. By default, this is
1. - mode (optional): Determines how negative numbers are rounded. If
modeis non-zero or omitted, negative numbers are rounded away from zero toward negative infinity. Ifmodeis0, negative numbers are rounded toward zero.
Examples:¶
-
=FLOOR.MATH(7.9)
Returns7, as7.9is rounded down to the nearest whole number. -
=FLOOR.MATH(7.9, 2)
Returns6, since7.9is rounded down to the nearest multiple of2. -
=FLOOR.MATH(-7.1)
Returns-8, as negative numbers are rounded down away from zero by default. -
=FLOOR.MATH(-7.1, 2, 0)
Returns-6, as themodeargument (0) changes the behavior, causing the number to round towards zero. -
=FLOOR.MATH(-7.6, 3)
Returns-9, because-7.6is rounded down (away from zero) to the nearest multiple of3.
Usage Notes:¶
- When significance is omitted, the function defaults to rounding to the nearest integer (
significance = 1). - The mode argument is optional and primarily controls how rounding behaves for negative numbers. Setting
mode = 0modifies negative number rounding to be closer to zero instead of away from it. - For positive numbers, the
FLOOR.MATHfunction behaves identically toFLOOR. - This function is particularly useful in scenarios that involve standardizing numeric values, particularly in applications like accounting, engineering, scheduling, and data analysis.