PFE Chapter 29, Functions in Excel page 17
However, when you compound them for 365 days, the differences are very large.
Round, RoundDown, RoundUp, Trunc
The Excel functions Round, RoundDown, RoundUp do exactly what they say. All 3 of
these functions require you to specify the number of decimal places to which you want to round
off the number. The function
Trunc cuts off a number after a specified number of places (if you
do not specify,
Trunc gives you the integer part of a number). Here are examples using the
Excel function
Pi as a basis:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ABC
Number 3.1415926535898 <-- =PI()
Round, no decimal places 3.00000000 <-- =ROUND(B2,0)
Round, 3 decimal places 3.14200000 <-- =ROUND(B2,3)
RoundDown, no decimal places 3.00000000 <-- =ROUNDDOWN(B2,0)
RoundDown, 3 decimal places 3.14100000 <-- =ROUNDDOWN(B2,3)
RoundUp, no decimal places 4.00000000 <-- =ROUNDUP(B2,0)
RoundUp, 4 decimal places 3.14160000 <-- =ROUNDUP(B2,4)
Truncate, no decimal places 3.00000000 <-- =TRUNC(B2)
Truncate, 5 decimal places 3.14159000 <-- =TRUNC(B2,5)
ROUNDING NUMBERS IN EXCEL
There’s a difference between using these functions and merely formatting a number so
that it looks rounded or truncated. Here’s an example:
16
17
18
19
20
21
ABC
Number 4.5632
Rounded to 2 decimals 4.56 <-- =ROUND(B16,2)
Formatted to 2 decimals 4.56 <-- =B16
10 times cell B20 45.6 <-- =10*B17
10 times cell B21 45.632 <-- =10*B18