How do you round to the nearest unit ?
1 Answer
See below
Explanation:
Rounding to the nearest unit means to find the nearest integer to a given number.
Basically, you have to get rid of the decimal part, if any.
As an immediate corollary, you have that if a number
Now, let's assume that our number actually has a decimal part, for example
It might help you to think of this number as
So, the question is: is our number closer to
If it is nearest to
Since halfway between
I'll leave some more examples:
#0.3345 \to 0# #-5.178\to -5# #-7.95 \to -8# #20 \to 20# #20.687 \to 21#