ROUNDDOWN
Syntax:
ROUNDDOWN ( x , number-digits )
Description: Computes x rounded down, toward zero, to the number of digits specified by number-digits.
Note: :
3.17.7.275), except that ROUNDDOWN
behaves like ROUND
(§ROUNDDOWN
always rounds a number down. ]Arguments:
Name |
Type |
Description |
---|---|---|
x |
number |
The value to be rounded down. |
number-digits |
number |
The number of digits to which x is to be rounded. If number-digits is greater than 0, x is rounded to the specified number of decimal places. If number-digits is 0, x is rounded to the nearest integer. If number-digits is less than 0, x is rounded to the left of the decimal point. |
Return Type and Value: number – The rounded-down value of x.
example: