Chapter 11: Math & Trig Functions 337
Result
Analysis
ROUND() can round down (like ROUNDDOWN()) or round up (like ROUNDUP()). The
second parameter in this example is negative: -1 means “round to an integer value.”
If you wish to round to a number of decimal places, then make the second parameter
positive. Negative values for the second parameter round to the left of the decimal
point. It may be useful to compare the products Chang and Chef Anton’s Cajun
Seasoning. The first is rounded up, and the second is rounded down.
ROUNDDOWN()
ROUNDDOWN(), unlike ROUND(), always rounds down. If the second argument is
negative, it rounds down to the left of the decimal point. The example uses the Products
table.
Syntax
=ROUNDDOWN(Products[UnitPrice],-1)