Skip to content

Decimals

By the end of this section, you will be able to: round decimals; add and subtract decimals; multiply and divide decimals; convert decimals, fractions, and percents; simplify expressions with square roots; identify integers, rational numbers, irrational numbers, and real numbers; and locate fractions and decimals on the number line.

Round decimals

Decimals are another way of writing fractions whose denominators are powers of ten.

0.1=110is “one tenth”0.01=1100is “one hundredth”0.001=11000is “one thousandth”0.0001=110,000is “one ten-thousandth”\begin{array}{lclcl} 0.1 &=& \tfrac{1}{10} && \text{is ``one tenth''} \\[4pt] 0.01 &=& \tfrac{1}{100} && \text{is ``one hundredth''} \\[4pt] 0.001 &=& \tfrac{1}{1000} && \text{is ``one thousandth''} \\[4pt] 0.0001 &=& \tfrac{1}{10{,}000} && \text{is ``one ten-thousandth''} \end{array}

Just as in whole numbers, each digit of a decimal corresponds to the place value based on the powers of ten. The chart below shows the names of the place values to the left and right of the decimal point.

Hundred thousandsTen thousandsThousandsHundredsTensOnes.TenthsHundredthsThousandthsTen-thousandthsHundred-thousandths

When we work with decimals, it is often necessary to round the number to the nearest required place value. We summarize the steps for rounding a decimal here.

Round decimals.

  1. Locate the given place value and mark it with an arrow.
  2. Underline the digit to the right of the place value.
  3. Is the underlined digit greater than or equal to 55?
    • Yes: add 11 to the digit in the given place value.
    • No: do not change the digit in the given place value.
  4. Rewrite the number, deleting all digits to the right of the rounding digit.

Example. Round 18.37918.379 to the nearest (a) hundredth, (b) tenth, (c) whole number.

(a) To the nearest hundredth. Locate the hundredths place, and underline the digit to its right (the 99). Because 99 is greater than or equal to 55, add 11 to the 77. Rewrite the number, deleting all digits to the right of the rounding digit. So, 18.37918.379 rounded to the nearest hundredth is 18.3818.38. Notice that the deleted digits were NOT replaced with zeros.

(b) To the nearest tenth. Locate the tenths place, and underline the digit to its right (the 77). Because 77 is greater than or equal to 55, add 11 to the 33. So, 18.37918.379 rounded to the nearest tenth is 18.418.4.

(c) To the nearest whole number. Locate the ones place, and underline the digit to its right (the 33). Since 33 is not greater than or equal to 55, do not add 11 to the 88. So, 18.37918.379 rounded to the nearest whole number is 1818.

Round 6.5826.582 to the nearest hundredth.

Round 6.5826.582 to the nearest tenth.

Round 6.5826.582 to the nearest whole number.

Add and subtract decimals

To add or subtract decimals, we line up the decimal points. By lining up the decimal points this way, we can add or subtract the corresponding place values. We then add or subtract the numbers as if they were whole numbers and then place the decimal point in the sum.

Add or subtract decimals.

  1. Determine the sign of the sum or difference.
  2. Write the numbers so the decimal points line up vertically.
  3. Use zeros as placeholders, as needed.
  4. Add or subtract the numbers as if they were whole numbers. Then place the decimal point in the answer under the decimal points in the given numbers.
  5. Write the sum or difference with the appropriate sign.

Example. Add or subtract: (a) 23.541.38-23.5 - 41.38, (b) 14.652014.65 - 20.

(a) The difference will be negative. To subtract, we add the numerals. Write the numbers so the decimal points line up vertically, using a 00 as a placeholder after the 55 in 23.523.5 — remember, 510=50100\tfrac{5}{10} = \tfrac{50}{100}, so 0.5=0.500.5 = 0.50. Add the numbers as if they were whole numbers, then place the decimal point in the sum, and write the result with the correct sign.

23.50+41.3864.88\begin{array}{rl} & 23.50 \\ + & 41.38 \\ \hline & 64.88 \end{array}23.541.38=64.88-23.5 - 41.38 = -64.88

(b) The difference will be negative. To subtract, we subtract 14.6514.65 from 2020. Write the numbers so the decimal points line up vertically; since 2020 is a whole number, place the decimal point after the 00 and put in zeros to the right as placeholders. Subtract, place the decimal point in the answer, and write the result with the correct sign.

20.0014.655.35\begin{array}{rl} & 20.00 \\ - & 14.65 \\ \hline & 5.35 \end{array}14.6520=5.3514.65 - 20 = -5.35

Add or subtract: 4.811.69-4.8 - 11.69.

Add or subtract: 9.58109.58 - 10.

Add or subtract: 5.12318.47-5.123 - 18.47.

Multiply and divide decimals

When we multiply signed decimals, first we determine the sign of the product and then multiply as if the numbers were both positive. We multiply the numbers temporarily ignoring the decimal point and then count the number of decimal points in the factors and that sum tells us the number of decimal places in the product. Finally, we write the product with the appropriate sign.

Multiply decimals.

  1. Determine the sign of the product.
  2. Write in vertical format, lining up the numbers on the right. Multiply the numbers as if they were whole numbers, temporarily ignoring the decimal points.
  3. Place the decimal point. The number of decimal places in the product is the sum of the number of decimal places in the factors.
  4. Write the product with the appropriate sign.

Example. Multiply: (3.9)(4.075)(-3.9)(4.075).

The signs are different, so the product will be negative. Write in vertical format, lining up the numbers on the right, and multiply as if they were whole numbers:

4.075×  3.936675122250158925\begin{array}{r} 4.075 \\ \times\ \ 3.9 \\ \hline 36675 \\ 12225\phantom{0} \\ \hline 158925 \end{array}

Add the number of decimal places in the factors. The factor 4.0754.075 has 33 decimal places and the factor 3.93.9 has 11 decimal place, so the product has 1+3=41 + 3 = 4 decimal places. Place the decimal point 44 places from the right: 15.892515.8925. The signs are different, so the product is negative:

(3.9)(4.075)=15.8925(-3.9)(4.075) = -15.8925

Multiply: 4.5(6.107)-4.5(6.107).

Multiply: 10.79(8.12)-10.79(8.12).

Often, especially in the sciences, you will multiply decimals by powers of 1010 (1010, 100100, 10001000, etc). If you multiply a few products on paper, you may notice a pattern relating the number of zeros in the power of 1010 to the number of decimal places we move the decimal point to the right to get the product.

Multiply a decimal by a power of ten.

  1. Move the decimal point to the right the same number of places as the number of zeros in the power of 1010.
  2. Add zeros at the end of the number as needed.

Example. Multiply 5.635.63 by (a) 1010, (b) 100100, (c) 10001000.

By looking at the number of zeros in the multiple of ten, we see the number of places we need to move the decimal point to the right.

(a) There is 11 zero in 1010, so move the decimal point 11 place to the right: 5.63(10)=56.35.63(10) = 56.3.

(b) There are 22 zeros in 100100, so move the decimal point 22 places to the right: 5.63(100)=5635.63(100) = 563.

(c) There are 33 zeros in 10001000, so move the decimal point 33 places to the right. A zero must be added to the end: 5.63(1000)=56305.63(1000) = 5630.

Multiply 2.582.58 by 1010.

Multiply 2.582.58 by 100100.

Multiply 2.582.58 by 10001000.

Just as with multiplication, division of signed decimals is very much like dividing whole numbers. We just have to figure out where the decimal point must be placed and the sign of the quotient. When dividing signed decimals, first determine the sign of the quotient and then divide as if the numbers were both positive. Finally, write the quotient with the appropriate sign.

We review the notation and vocabulary for division: in a÷b=ca \div b = c, the number aa is the dividend, bb is the divisor, and cc is the quotient. In long-division form, b)ab\,\overline{\smash{)}\,a} places the quotient cc above the dividend.

Divide decimals.

  1. Determine the sign of the quotient.
  2. Make the divisor a whole number by “moving” the decimal point all the way to the right. “Move” the decimal point in the dividend the same number of places — adding zeros as needed.
  3. Divide. Place the decimal point in the quotient above the decimal point in the dividend.
  4. Write the quotient with the appropriate sign.

Example. Divide: 25.65÷(0.06)-25.65 \div (-0.06).

Remember, you can “move” the decimals in the divisor and dividend because of the Equivalent Fractions Property. The signs are the same, so the quotient is positive. Make the divisor 0.060.06 a whole number by moving the decimal point 22 places to the right, and move the decimal point in the dividend 22 places to the right as well (25.6525.65 becomes 2565.02565.0). Then divide, placing the decimal point in the quotient above the decimal point in the dividend:

6)0427.56)2565.06)2465.06)0165.06)0125.06)0045.06)0042.06)000306)000306)00000\begin{array}{r} \phantom{6\,\overline{\smash{)}\,}}\phantom{0}427.5 \\ 6\,\overline{\smash{)}\,2565.0} \\ \phantom{6\,\overline{\smash{)}\,}}\underline{24}\phantom{65.0} \\ \phantom{6\,\overline{\smash{)}\,}}\phantom{0}16\phantom{5.0} \\ \phantom{6\,\overline{\smash{)}\,}}\phantom{0}\underline{12}\phantom{5.0} \\ \phantom{6\,\overline{\smash{)}\,}}\phantom{00}45\phantom{.0} \\ \phantom{6\,\overline{\smash{)}\,}}\phantom{00}\underline{42}\phantom{.0} \\ \phantom{6\,\overline{\smash{)}\,}}\phantom{000}30 \\ \phantom{6\,\overline{\smash{)}\,}}\phantom{000}\underline{30} \\ \phantom{6\,\overline{\smash{)}\,}}\phantom{0000}0 \end{array}

The signs are the same, so the quotient is positive:

25.65÷(0.06)=427.5-25.65 \div (-0.06) = 427.5

Divide: 23.492÷(0.04)-23.492 \div (-0.04).

Divide: 4.11÷(0.12)-4.11 \div (-0.12).

Convert decimals, fractions, and percents

In our work, it is often necessary to change the form of a number. We may have to change fractions to decimals or decimals to percent.

We convert decimals into fractions by identifying the place value of the last (farthest right) digit. In the decimal 0.030.03, the 33 is in the hundredths place, so 100100 is the denominator of the fraction equivalent to 0.030.03:

0.03=31000.03 = \frac{3}{100}

Convert a decimal to a proper fraction and a fraction to a decimal.

  1. To convert a decimal to a proper fraction, determine the place value of the final digit.
  2. Write the fraction.
    • numerator — the “numbers” to the right of the decimal point
    • denominator — the place value corresponding to the final digit
  3. To convert a fraction to a decimal, divide the numerator of the fraction by the denominator of the fraction.

Example. Write (a) 0.3740.374 as a fraction, (b) 58-\tfrac{5}{8} as a decimal.

(a) Determine the place value of the final digit. The final digit, 44, is in the thousandths place, so the numerator is 374374 and the denominator is 10001000. Simplify the fraction by dividing out the common factors:

0.374=3741000=21872500=1875000.374 = \frac{374}{1000} = \frac{2 \cdot 187}{2 \cdot 500} = \frac{187}{500}

(b) Since a fraction bar means division, we begin by writing 58\tfrac{5}{8} as 8)58\,\overline{\smash{)}\,5}. Now divide:

8)0.6258)5.0008)48008)02008)01608)00408)00408)0000\begin{array}{r} \phantom{8\,\overline{\smash{)}\,}}0.625 \\ 8\,\overline{\smash{)}\,5.000} \\ \phantom{8\,\overline{\smash{)}\,}}\underline{48}\phantom{00} \\ \phantom{8\,\overline{\smash{)}\,}}\phantom{0}20\phantom{0} \\ \phantom{8\,\overline{\smash{)}\,}}\phantom{0}\underline{16}\phantom{0} \\ \phantom{8\,\overline{\smash{)}\,}}\phantom{00}40 \\ \phantom{8\,\overline{\smash{)}\,}}\phantom{00}\underline{40} \\ \phantom{8\,\overline{\smash{)}\,}}\phantom{000}0 \end{array}

So, 58=0.625-\tfrac{5}{8} = -0.625.

Write 0.2340.234 as a fraction. Enter the simplified fraction.

Write 78-\tfrac{7}{8} as a decimal.

Write 0.0240.024 as a fraction. Enter the simplified fraction.

A percent is a ratio whose denominator is 100100. Percent means per hundred. We use the percent symbol, %\%, to show percent. Since a percent is a ratio, it can easily be expressed as a fraction. Percent means per 100100, so the denominator of the fraction is 100100. We then change the fraction to a decimal by dividing the numerator by the denominator. After doing this many times, you may see the pattern.

To convert a percent number to a decimal number, we move the decimal point two places to the left:

6%=0.0678%=0.782.7%=0.027135%=1.356\% = 0.06 \qquad 78\% = 0.78 \qquad 2.7\% = 0.027 \qquad 135\% = 1.35

To convert a decimal to a percent, remember that percent means per hundred. If we change the decimal to a fraction whose denominator is 100100, it is easy to change that fraction to a percent. To convert a decimal to a percent, we move the decimal point two places to the right and then add the percent sign:

0.05=5%0.83=83%1.05=105%0.075=7.5%0.3=30%0.05 = 5\% \qquad 0.83 = 83\% \qquad 1.05 = 105\% \qquad 0.075 = 7.5\% \qquad 0.3 = 30\%

Convert a percent to a decimal and a decimal to a percent.

  1. To convert a percent to a decimal, move the decimal point two places to the left after removing the percent sign.
  2. To convert a decimal to a percent, move the decimal point two places to the right and then add the percent sign.

Example. Convert each: (a) percent to a decimal: 62%62\%, 135%135\%, and 35.7%35.7\%; (b) decimal to a percent: 0.510.51, 1.251.25, and 0.0930.093.

(a) Move the decimal point two places to the left:

62%=0.62135%=1.3535.7%=0.35762\% = 0.62 \qquad 135\% = 1.35 \qquad 35.7\% = 0.357

(b) Move the decimal point two places to the right and add the percent sign:

0.51=51%1.25=125%0.093=9.3%0.51 = 51\% \qquad 1.25 = 125\% \qquad 0.093 = 9.3\%

Convert the percent 9%9\% to a decimal.

Convert the percent 87%87\% to a decimal.

Convert the percent 3.9%3.9\% to a decimal.

Simplify expressions with square roots

Remember that when a number nn is multiplied by itself, we write n2n^2 and read it “nn squared.” The result is called the square of a number nn. For example, 828^2 is read “88 squared” and 6464 is called the square of 88. Similarly, 121121 is the square of 1111 because 11211^2 is 121121. It will be helpful to learn to recognize the perfect square numbers.

Square of a number. If n2=mn^2 = m, then mm is the square of nn.

What about the squares of negative numbers? We know that when the signs of two numbers are the same, their product is positive. So the square of any negative number is also positive:

(3)2=9(8)2=64(11)2=121(15)2=225(-3)^2 = 9 \qquad (-8)^2 = 64 \qquad (-11)^2 = 121 \qquad (-15)^2 = 225

Because 102=10010^2 = 100, we say 100100 is the square of 1010. We also say that 1010 is a square root of 100100. A number whose square is mm is called a square root of a number mm.

Square Root of a Number. If n2=mn^2 = m, then nn is a square root of mm.

Notice (10)2=100(-10)^2 = 100 also, so 10-10 is also a square root of 100100. Therefore, both 1010 and 10-10 are square roots of 100100. So, every positive number has two square roots — one positive and one negative. The radical sign, m\sqrt{m}, denotes the positive square root. The positive square root is called the principal square root. When we use the radical sign that always means we want the principal square root.

Square Root Notation. m\sqrt{m} is read “the square root of mm.” In the expression m\sqrt{m}, the symbol m\sqrt{\phantom{m}} is the radical sign and mm is the radicand.

If m=n2m = n^2, then m=n\sqrt{m} = n, for n0n \geq 0. The square root of mm, m\sqrt{m}, is the positive number whose square is mm.

We know that every positive number has two square roots and the radical sign indicates the positive one. We write 100=10\sqrt{100} = 10. If we want to find the negative square root of a number, we place a negative in front of the radical sign. For example, 100=10-\sqrt{100} = -10. We read 100-\sqrt{100} as “the opposite of the principal square root of 100100.”

Example. Simplify: (a) 25\sqrt{25}, (b) 121\sqrt{121}, (c) 144-\sqrt{144}.

(a) Since 52=255^2 = 25, we have 25=5\sqrt{25} = 5.

(b) Since 112=12111^2 = 121, we have 121=11\sqrt{121} = 11.

(c) The negative is in front of the radical sign, so 144=12-\sqrt{144} = -12.

Simplify: 36\sqrt{36}.

Simplify: 169\sqrt{169}.

Simplify: 225-\sqrt{225}.

Identify integers, rational numbers, irrational numbers, and real numbers

We have already described numbers as counting numbers, whole numbers, and integers:

Counting numbers1,2,3,4,Whole numbers0,1,2,3,4,Integers3,2,1,0,1,2,3,\begin{array}{ll} \text{Counting numbers} & 1, 2, 3, 4, \dots \\ \text{Whole numbers} & 0, 1, 2, 3, 4, \dots \\ \text{Integers} & \dots -3, -2, -1, 0, 1, 2, 3, \dots \end{array}

What type of numbers would we get if we started with all the integers and then included all the fractions? The numbers we would have form the set of rational numbers. A rational number is a number that can be written as a ratio of two integers.

In general, any decimal that ends after a number of digits (such as 7.37.3 or 1.2684-1.2684) is a rational number. Simply write the decimal as a mixed number. The decimal for 13\tfrac{1}{3} is the number 0.30.\overline{3}. The bar over the 33 indicates that the number 33 repeats infinitely. The number(s) under the bar is called the repeating block and it repeats continuously.

Since all integers can be written as a fraction whose denominator is 11, the integers (and so also the counting and whole numbers) are rational numbers.

Rational Number. A rational number is a number of the form pq\tfrac{p}{q}, where pp and qq are integers and q0q \neq 0. Its decimal form stops or repeats.

Are there any decimals that do not stop or repeat? Yes! The number π\pi (the Greek letter pi, pronounced “pie”), which is very important in describing circles, has a decimal form that does not stop or repeat. We use three dots (\dots) to indicate the decimal does not stop or repeat:

π=3.141592654\pi = 3.141592654\dots

The square root of a number that is not a perfect square is a decimal that does not stop or repeat. A number whose decimal form does not stop or repeat cannot be written as a fraction of integers. We call this an irrational number.

Irrational Number. An irrational number is a number that cannot be written as the ratio of two integers. Its decimal form does not stop and does not repeat.

Let’s summarize a method we can use to determine whether a number is rational or irrational. If the decimal form of a number repeats or stops, the number is a rational number. If the decimal form of a number does not repeat and does not stop, the number is an irrational number.

We have seen that all counting numbers are whole numbers, all whole numbers are integers, and all integers are rational numbers. The irrational numbers are numbers whose decimal form does not stop and does not repeat. When we put together the rational numbers and the irrational numbers, we get the set of real numbers.

Real Number. A real number is a number that is either rational or irrational.

Later in this course we will introduce numbers beyond the real numbers. The diagram below illustrates how the number sets we’ve used so far fit together: the counting numbers sit inside the whole numbers, which sit inside the integers, which sit inside the rational numbers; the rational numbers together with the irrational numbers make up the real numbers.

Real numbersRational numbersIrrational numbersIntegers... −2, −1, 0, 1, 2...Whole numbers0, 1, 2, 3, ....Counting numbers1, 2, 3, ....

Does the term “real numbers” seem strange to you? Are there any numbers that are not “real,” and, if so, what could they be? Can we simplify 25\sqrt{-25}? Is there a number whose square is 25-25? None of the numbers that we have dealt with so far has a square that is 25-25. Why? Any positive number squared is positive. Any negative number squared is positive. So we say there is no real number equal to 25\sqrt{-25}. The square root of a negative number is not a real number.

Example. Given the numbers 7-7, 145\tfrac{14}{5}, 88, 5\sqrt{5}, 5.95.9, 64-\sqrt{64}, list the (a) whole numbers, (b) integers, (c) rational numbers, (d) irrational numbers, (e) real numbers.

(a) Remember, the whole numbers are 0,1,2,3,0, 1, 2, 3, \dots, so 88 is the only whole number given.

(b) The integers are the whole numbers and their opposites (which includes 00). So the whole number 88 is an integer, and 7-7 is the opposite of a whole number so it is an integer, too. Also, notice that 6464 is the square of 88 so 64=8-\sqrt{64} = -8. So the integers are 7-7, 88, and 64-\sqrt{64}.

(c) Since all integers are rational, then 7-7, 88, and 64-\sqrt{64} are rational. Rational numbers also include fractions and decimals that repeat or stop, so 145\tfrac{14}{5} and 5.95.9 are rational. So the list of rational numbers is 7-7, 145\tfrac{14}{5}, 88, 5.95.9, and 64-\sqrt{64}.

(d) Remember that 55 is not a perfect square, so 5\sqrt{5} is irrational.

(e) All the numbers listed are real numbers.

Given the numbers 3-3, 2-\sqrt{2}, 0.30.\overline{3}, 95\frac{9}{5}, 44, 49\sqrt{49}, which are the whole numbers?

Given the numbers 3-3, 2-\sqrt{2}, 0.30.\overline{3}, 95\frac{9}{5}, 44, 49\sqrt{49}, which are the irrational numbers?

Given the numbers 25-\sqrt{25}, 38-\frac{3}{8}, 1-1, 66, 121\sqrt{121}, 2.0419752.041975\dots, which are the integers?

Locate fractions and decimals on the number line

We now want to include fractions and decimals on the number line. Since decimals are forms of fractions, locating decimals on the number line is similar to locating fractions on the number line.

To locate a proper fraction such as 15\tfrac{1}{5}, we note that it has value less than one, so it lies between 00 and 11. The denominator is 55, so we divide the unit from 00 to 11 into 55 equal parts 15\tfrac{1}{5}, 25\tfrac{2}{5}, 35\tfrac{3}{5}, 45\tfrac{4}{5} and plot 15\tfrac{1}{5}. Similarly, 45-\tfrac{4}{5} is between 00 and 1-1. To locate an improper fraction, it is often easier to change it to a mixed number first:

74=13492=41283=223\frac{7}{4} = 1\tfrac{3}{4} \qquad -\frac{9}{2} = -4\tfrac{1}{2} \qquad \frac{8}{3} = 2\tfrac{2}{3}

Example. Locate and label the following on a number line: 44, 34\tfrac{3}{4}, 14-\tfrac{1}{4}, 3-3, 65\tfrac{6}{5}, 52-\tfrac{5}{2}, and 73\tfrac{7}{3}.

Locate and plot the integers 44 and 3-3. Locate the proper fraction 34\tfrac{3}{4}; it is between 00 and 11, so divide that distance into four equal parts and plot 34\tfrac{3}{4}. Similarly plot 14-\tfrac{1}{4}. For the improper fractions, convert to mixed numbers first: 65=115\tfrac{6}{5} = 1\tfrac{1}{5}, 52=212-\tfrac{5}{2} = -2\tfrac{1}{2}, and 73=213\tfrac{7}{3} = 2\tfrac{1}{3}. Then plot each in its interval.

-6-5-4-3-2-10123456−5/2−1/43/46/57/3

Example. Locate on the number line: (a) 0.40.4, (b) 0.74-0.74.

(a) The decimal number 0.40.4 is equivalent to 410\tfrac{4}{10}, a proper fraction, so 0.40.4 is located between 00 and 11. On a number line, divide the interval between 00 and 11 into 1010 equal parts. Now label the parts 0.10.1, 0.20.2, 0.30.3, 0.40.4, 0.50.5, 0.60.6, 0.70.7, 0.80.8, 0.90.9, 1.01.0. We write 00 as 0.00.0 and 11 as 1.01.0, so that the numbers are consistently in tenths. Finally, mark 0.40.4 on the number line.

0.00.10.20.30.40.50.60.70.80.91

(b) The decimal 0.74-0.74 is equivalent to 74100-\tfrac{74}{100}, so it is located between 00 and 1-1. On a number line, mark off and label the multiples of 0.100.10 in the interval between 00 and 1-1 and place 0.74-0.74 between 0.70-0.70 and 0.80-0.80, closer to 0.70-0.70.

-1.00-0.90-0.80-0.70-0.60-0.50-0.40-0.30-0.20-0.100.00−0.74

A point is plotted at the decimal that is equivalent to 610\frac{6}{10} on a number line divided into tenths between 00 and 11. What decimal is it?

A point is plotted one quarter of the way from 00 toward 1-1 on a number line divided into hundredths. What decimal is it?

Key terms

square of a number — the result of multiplying a number by itself; if n2=mn^2 = m, then mm is the square of nn. square root of a number — a number nn whose square is mm; if n2=mn^2 = m, then nn is a square root of mm. principal square root — the positive square root, denoted by the radical sign m\sqrt{m}. radicand — the number under the radical sign. rational number — a number of the form pq\tfrac{p}{q}, where pp and qq are integers and q0q \neq 0; its decimal form stops or repeats. irrational number — a number that cannot be written as the ratio of two integers; its decimal form does not stop and does not repeat. real number — a number that is either rational or irrational.


This section is adapted from Intermediate Algebra 2e, Section 1.4: Decimals by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated the place-value chart as a table, the real-number-sets and number-line figures as accessible inline graphics, and the rounding, operation, and long-division steps as typeset math and prose; omitted the Be Prepared quiz, media links, and end-of-section exercises; and converted the “Try It” practice problems into interactive exercises with instant feedback.