ROUNDDOWN()

Syntax. ROUNDDOWN(number,num_digits)

Definition. This function rounds a number down to the number of digits specified in num_digits.

Arguments

Background. Unlike ROUND(), in which numbers less than five round down and greater than or equal to five round up, the ROUNDDOWN() function always rounds a number down. The number is truncated at the position specified in num_digits. If num_digits is a negative value, the number is rounded down to the specified number of digits before the decimal point.

If num_digits is:

Examples. For a price calculation, assume that you want to round the calculated final amounts of 15.482 and 83.2578 to two decimal places:

A few more examples demonstrate this function further:

See Also

CEILING(), CEILING.PRECISE(), FLOOR(), FLOOR.PRECISE(), INT(), MOD(), MROUND(), ROUND(), ROUNDUP(), TRUNC()