3.2.1: Decimals
- Page ID
- 46963
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\dsum}{\displaystyle\sum\limits} \)
\( \newcommand{\dint}{\displaystyle\int\limits} \)
\( \newcommand{\dlim}{\displaystyle\lim\limits} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\(\newcommand{\longvect}{\overrightarrow}\)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\ket}[1]{\left| #1 \right>}\)
\(\newcommand{\bra}[1]{\left< #1 \right|}\)
\(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
\(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
\(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
\(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
\(\newcommand{\expect}[1]{\langle #1 \rangle}\)
\(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)
This section is adapted from the Support Course for Elementary Statistics. That support course textbook is another resource to help refresh your math memory. In most statistics applications that you will encounter, the numbers will not come out evenly, and you will need to round the decimal.
In this section, we will go over how to round decimals to the nearest whole number, nearest tenth, nearest hundredth, etc. For example, suppose that you used a calculator to find the probability that a randomly selected day in July will have a high temperature of over 90 degrees. Your calculator gives the answer: 0.4987230156. This is far too many digits for practical use, so it makes sense to round to just a few digits. By the end of this section you will be able to perform the rounding that is necessary to make unmanageable numbers manageable.
We will also look at how to read scientific notation. According to Dr. Green, a very common error that statistics students make is not noticing that the calculator is giving an answer in scientific notation.
Brief Review of Decimal Language
Consider the decimal number: 62.5739. There is a defined way to refer to each of the digits.
- The digit 6 is in the "Tens Place"
- The digit 2 is in the "Ones Place"
- The digit 5 is in the "Tenths Place"
- The digit 7 is in the "Hundredths Place"
- The digit 3 is in the "Thousandths Place"
- The digit 9 is in the "Ten-thousandths Place"
- We also say that 62 is the "Whole Number" part.

It is reported that the mean number of classes that college students take each semester is 3.2541. Then the digit in the hundredths place is 5.
Keeping this example in mind will help you when you are asked to round to a specific place value. In this course, we will almost always use the hundredths or thousandths decimal places, meaning that we'll include two or three numbers after the decimal point. In real life, you rarely need to include any decimal points, however. Sometimes, that kind of precision is just distracting.
Rules of Rounding
When asked to round to a specified place value, the answer will erase all the digits after the specified digit. The process to deal with the other digits is best shown by examples.
Let's say that the your professor spent 3.741 hours preparing for this week's class. What would we report if we wanted to round the hours spent to the nearest tenth?
Solution

Since the test digit (4) is less than 5, we just erase everything to the right of the tenths digit, 7. The answer is: The time that Dr. MO spent preparing for this week's class was 3.7 hours.
Most community college students do not attend "full-time," meaning 12 or more units. Imagine that, on average, your class had registered for 8.53792 units this semester. What would that be rounded to the nearest hundredth?
Solution

Since the test digit (6) is 5 or greater, we add one to the hundredths digit and erase everything to the right of the hundredths digit, 3. Thus the 3 becomes a 4. The answer is: My class registered for an average of 8.54 units this semester.
Let's try one on your own.
The average grade percentage in Dr. MO's last behavioral statistics course was 93.8922%.
- What would that look like with no decimal points?
- What would that look like with one decimal point?
- What would that look like with two decimal points?
Hint: Your answers should be a complete sentences, not just a number.
- Answer
-
Your answers could be something like:
- No decimals: The average grade percentage in Dr. MO's behavioral statistics course was 94%.
- One decimal point: The average grade percentage in Dr. MO's behavioral statistics course was 93.9%.
- Two decimal points: The average grade percentage of Dr. MO's behavioral statistics course was 93.89%
Which of these makes more sense to you? They are all correct, just some provide more detail than others. But it's up to you to decide if that detail is needed.
FMI, Dr. Green has provided a video (link to YouTube video on rounding) that shows an example of rounding and how you could use the names of the different decimal spaces.
How Much Rounding?
Rounding is used in most areas of statistics, since the calculator or computer will produce numerical answers with far more digits than are useful. Dr. MO wants most answers rounded to the hundredths, but ask your professor how many decimals they would like you to keep. In real life, choose the smallest number of decimals to keep so that no important information is lost. For example suppose you conducted a sample to find the proportion of college students who receive financial aid and the calculator presented 0.568429314. You could turn this into a percent at 56.8429314%. Keeping this many decimal places is not useful, and is confusing. If you wanted to present this finding to the student government, you might want to round to the nearest whole number (including no numbers after the decimal). In this case the ones digit is 6 and the test digit is 8. Since 8 > 5, you add 1 to the ones digit. You can tell the student government that 57% of all college students receive financial aid.
Suppose that you found out that the probability that a randomly selected person with who has misused prescription opioids will transition to heroin is 0.04998713. Round this number to four decimal places.
Solution
The first four decimal places are 0.0499 and the test digit is 8. Since 8 > 5, we would like to add 1 to the fourth digit. Since this is a 9, we go to the next digit to the left. This is also a 9, so we go to the next one which is a 4. We can think of adding 0499 + 1 = 0500. Thus the answer is 0.0500. Note that we keep the last two 0's after the 5 to emphasize that this is accurate to the fourth decimal place.
Rounding and Equations
Many times, we have to do arithmetic on numbers with several decimal places and want the answer rounded to a smaller number of decimal places. One question you might ask is should you round before you perform the arithmetic or after. For the most accurate result, you should always round after you preform the arithmetic if possible.
Suppose you pick three cards from a 52 card deck with replacement and want to find the probability of the event, A, that none of the three cards will be a 2 through 7 of hearts. This probability is:
\[P\left(A\right)=\left(0.8846\right)^3 \nonumber\]
Round the answer to 2 decimal places.
Solution
Note that we have to first perform the arithmetic. With a computer or calculator we get:
\[0.8846^3=\text{0.69221467973} \nonumber\]
Now we round to two decimal places. Notice that the hundredths digit is a 9 and the test digit is a 2. Thus the 9 remains unchanged and everything to the right of the 9 goes away. the result is
\[P\left(A\right)\approx0.69 \nonumber\]
If we mistakenly rounded 0.8846 to two decimal places (0.88) and then cubed the answer we would have gotten 0.68 which is not the correct answer.
To watch Dr. Green go through this process, check out Dr. Green's example of rounding on YouTube.
Figure \(\PageIndex{1}\): Dr. Green's Example of Rounding. (CC-BY via YouTube)
Scientific Notation
Sometimes there are SO MANY numbers after the decimal point that your calculator will show you the answer in a code. That code, is scientific notation. The standard way of writing a number in scientific notation is writing the number as a product of a number greater than or equal 1 but less than 10 followed by a power of 10. This sounds pretty complicated, but you use the little number in superscript (above the 10) to count the number of numbers to the right to figure out where to put the decimal point. For example:
\[ 602,000,000,000,000,000,000,000 = 6.02 \times 10^{23} \nonumber\]
The main purpose of scientific notation is to allow us to write very large numbers or numbers very close to 0 without having to use so many digits. Most calculators and computers use a different notation for scientific notation, most likely because the superscript is difficult to render on a screen. For example, with a calculator:
\[0.00000032 = 3.2E-7 \nonumber\]
Notice that to arrive at 3.2, the decimal needed to be moved 7 places to the right.
A calculator displays:
\[2.0541E6 \nonumber\]
Write this number in decimal form.
Solution
Notice that the number following E is 6. This means move the decimal over 6 places to the right. The first 4 moves is natural, but for the last 2 moves, there are no numbers to move the decimal place past. We can always add extra zeros after the last number to the right of the decimal place:
\[2.0541E6 = 2.054100E6 \nonumber\]
Now we can move the decimal place to the right 6 places to get
\[2.0541E6 = 2.054100E6 = 2,054,100 \nonumber \]
If you use a calculator or computer to find the probability of flipping a coin 27 times and getting all heads, then it will display:
\[ 7.45E−9 \nonumber\]
Write this number in decimal form.
Solution
Many students will forget to look for the "E" and just write that the probability is 7.45, but probabilities can never be bigger than 1. You can not have a 745% chance of it occurring. Notice that the number following E is −9. Since the power is negative, this means move the decimal to the left, and in particular 9 places to the left. There is only one digit to the left of the decimal place, so we need to insert 8 zeros:
\[ 7.45E−9 = 000000007.45E−9 \nonumber\]
Now we can move the decimal place to the right 9 places to the left to get
\[ 7.45E−9 = 000000007.45E−9 = 0.00000000745 \nonumber\]
Now that you've unlocked some of those memories about how to do math, we'll start to learn about how one number can describe a whole group of numbers. Next up, our first measure of central tendency: mode!


