Rounding Numbers (ROUND)

Syntax: ROUND(x; y)

The ROUND function rounds x to y decimal places, as in

=ROUND(1.2533; 1)

which returns the argument rounded to one decimal place, or 1.3.

images

Figure 6-7. Sample result of the ROUND function

Using 0 as the number of decimal places rounds numbers to whole integers.

See also the sections on the CEILING, EVEN, FLOOR, INT, ODD, and TRUNC functions.

Get Beginning OpenOffice Calc: From Setting Up Simple Spreadsheets to Business Forecasting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.