ROUNDDOWN (Primitive Spread Function) rounds the specified number down to the nearest number, using the specified number of decimal places.
SYNTAX:
ROUNDDOWN(value1,value2)
REMARKS:
Use the value1 argument to specify the number to round. Use the value2 argument to specify the number of decimal places.
Note the following about the value2 argument:
Set value2 to a value greater than zero to round to the specified number of decimal places.
Set value2 to zero to round to the nearest whole number.
Set value2 to a value less than zero to round the value left of the decimal to the nearest ten, hundred, etc.
Regardless of the sign of the number specified by the value1 argument, the number is rounded away from zero.
EXAMPLES:
ROUNDDOWN(3.2,0)=3
ROUNDDOWN(3.14159,3)=3.141
ROUNDDOWN(-3.14159,1)=-3.1
ROUNDDOWN(31415.92654,-2)=31400