FLOOR

Description

FLOOR rounds a number down to the nearest multiple of a specified precision.

Syntax

FLOOR ( number, precision )

 

Parameter

Description

number

The value to round.

precision

Indicates the number of decimals to round to.

Remarks

Regardless of the sign of the number, the value is rounded down, toward zero. If number is an exact multiple of significance, no rounding occurs.

A non-numeric number or significance returns #NAME?. Arguments having opposite signs return #NUM!.

Examples

This function returns 1.2:

FLOOR(1.23459, .05)

This function returns 148:

FLOOR(148.24, 2)

 Note:

If an Invalid formula syntax warning appears, check whether the comma is set as the list separator in your regional settings on the Windows Control Panel. If a different character is set as the list separator, use this character in the above examples in place of the comma. (Windows XP: Access the Windows Control Panel and select Regional and Language Options. On the Regional Options tab page, click Customize. On the Numbers tab page, check which character is the default list separator on your computer. Use this character in the above examples instead of the comma.

Also, see

CEILING

EVEN

INT

ODD

ROUND

TRUNC