RuCRw‖FLOOR Functions

hkrkw‖

soQ7o‖FLOOR

VSV8H‖Rounds a number to the nearest multiple of a significance value.

345Fr‖For a positive number and a positive significance value, the function rounds down (towards zero). For a negative number and a negative significance value, the direction of rounding is determined by the value of a mode parameter. The function returns an error if the number and significance values have opposite signs.

warning

5kHtR‖If the spreadsheet is exported to Microsoft Excel, the FLOOR function is exported as the equivalent FLOOR.MATH function that has existed since Excel 2013. If you plan to use the spreadsheet with earlier Excel versions, use either FLOOR.PRECISE that has existed since Excel 2010, or FLOOR.XCL that is exported as the FLOOR function compatible with all Excel versions.


ebLBc‖Syntax

2haGU‖FLOOR(Number[; Significance[; Mode]])

ERf3D‖Number is the number that is to be rounded, or a reference to a cell containing the number.

8w8tL‖Significance (optional) is the value, or a reference to a cell containing the value, to whose multiple Number is to be rounded. It defaults to +1 or -1 depending on the sign of Number.

qCpHR‖Mode (optional) is a number, or a reference to a cell containing a number. The function only uses Mode if both Number and Significance are negative. Then if Mode is given and not equal to zero, numbers are rounded up (towards zero); if Mode is equal to zero or not given, negative numbers are rounded down (away from zero).

GAZG2‖Examples

EU85r‖=FLOOR(3.45) returns 3.

vuJc5‖=FLOOR(3.45, 3) returns 3.

uTWTb‖=FLOOR(-1.234) returns -2.

8ZGDc‖=FLOOR(-45.67, -2, 0) returns -46.

gXsTm‖=FLOOR(-45.67, -2, 1) returns -44.

zzTLr‖

B9VCD‖FLOOR.MATH

BBjwd‖Rounds a number to the nearest multiple of a significance value.

UJLZc‖For a positive number the function rounds down (towards zero). For a negative number, the direction of rounding is determined by the value of a mode parameter. The sign of the significance value is ignored.

warning

4weAd‖This function exists for interoperability with Microsoft Excel 2013 or newer.


ebLBc‖Syntax

4DFyG‖FLOOR.MATH(Number[; Significance[; Mode]])

ERf3D‖Number is the number that is to be rounded, or a reference to a cell containing the number.

Un6FB‖Significance (optional) is the value, or a reference to a cell containing the value, to whose multiple Number is to be rounded. It defaults to 1.

L9MKT‖Mode (optional) is a number, or a reference to a cell containing a number. If Mode is given and not equal to zero, a negative Number is rounded up (towards zero). If Mode is equal to zero or is not given, a negative Number is rounded down (away from zero).

GAZG2‖Examples

wCd8C‖=FLOOR.MATH(3.45) returns 3.

p27MD‖=FLOOR.MATH(3.45,-3) returns 3.

Fehfx‖=FLOOR.MATH(-1.234) returns -2.

eQfea‖=FLOOR.MATH(-45.67,-2, 0) returns -46.

XXqpS‖=FLOOR.MATH(-45.67,+2, 1) returns -44.

XAFa7‖Technical information

tip

jcAXr‖This function is available since LibreOfficeDev 5.0.


2C7vt‖This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.FLOOR.MATH

9MJem‖

Q6WU3‖FLOOR.PRECISE

DgQBx‖Rounds a number down to the nearest multiple of a significance value.

NHMnz‖For a positive number the function rounds down (towards zero). For a negative number, the function rounds down (away form zero). The sign of the significance value is ignored.

warning

5kHtR‖If the spreadsheet is exported to Microsoft Excel, the FLOOR function is exported as the equivalent FLOOR.MATH function that has existed since Excel 2013. If you plan to use the spreadsheet with earlier Excel versions, use either FLOOR.PRECISE that has existed since Excel 2010, or FLOOR.XCL that is exported as the FLOOR function compatible with all Excel versions.


ebLBc‖Syntax

ni9y2‖FLOOR.PRECISE(Number[; Significance])

ERf3D‖Number is the number that is to be rounded, or a reference to a cell containing the number.

pirHp‖Significance (optional) is the value, or a reference to a cell containing the value, to whose multiple Number is to be rounded. It defaults to 1.

GAZG2‖Examples

smFCw‖=FLOOR.PRECISE(3.45) returns 3.

Q9vnd‖=FLOOR.PRECISE(-45.67,2) returns -46.

XAFa7‖Technical information

tip

iV7XA‖This function is available since LibreOfficeDev 4.3.


2C7vt‖This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.FLOOR.PRECISE

HnS5F‖

gC7eY‖FLOOR.XCL

WMsAT‖Rounds a number to the nearest multiple of a significance value.

jrymG‖For a positive number and a positive significance value, the function rounds down (towards zero). For a negative number and a positive significance value, the function rounds down (away from zero). For a negative number and a negative significance value, the function rounds up (towards zero). The function returns an error if the number is positive and the significance value is negative.

warning

BFXRR‖This function exists for interoperability with Microsoft Excel 2007 or older. If a Calc spreadsheet is exported to Microsoft Excel, references to Calc’s FLOOR.XCL function are exported as references to Excel’s FLOOR function, which is compatible with all Excel versions. If a Microsoft Excel spreadsheet is imported into Calc, references to Excel’s FLOOR function are imported as references to Calc’s FLOOR.XCL function.


ebLBc‖Syntax

WA7uC‖FLOOR.XCL(Number; Significance)

ERf3D‖Number is the number that is to be rounded, or a reference to a cell containing the number.

aRww7‖Significance is the value, or a reference to a cell containing the value, to whose multiple Number is to be rounded.

GAZG2‖Examples

HXuMo‖=FLOOR.XCL(3.45,2) returns 2.

gFyGC‖=FLOOR.XCL(-45.67,2) returns -46.

EU7xy‖=FLOOR.XCL(-45.67,-2) returns -44.

XAFa7‖Technical information

tip

jcAXr‖This function is available since LibreOfficeDev 5.0.


2C7vt‖This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.FLOOR