ROUNDDOWN
Description
ROUNDDOWN rounds a number down.
Syntax
ROUNDDOWN ( number, precision )
Parameter |
Description |
number |
Any real number you want to round. |
precisions |
Indicates the number of decimals to round to. If a negative precision is used, the digits to the right of the decimal point are dropped and replaced by zeros. If precision is 0, number is rounded down to the nearest integer. |
Example
This function returns 3.141:
ROUNDDOWN(3.14159, 3)
This function returns 31400:
ROUNDDOWN(31415.92654, -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