分数转小数计算器
逐步将分数转换为小数
该计算器会将给定的分数(真分数或假分数)或带分数转换为小数(可能为循环小数),并显示步骤。
Solution
Your input: convert $$$\frac{400}{18}$$$ into a decimal.
Write the problem in the special format:
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccc}\phantom{2}&\phantom{2}&\phantom{.}&\phantom{2}&\phantom{2}&\phantom{2}\end{array}&\\18&\phantom{-}\enclose{longdiv}{\begin{array}{ccc}4&0&0\end{array}}&\\&\begin{array}{lll}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 1
How many $$$18$$$'s are in $$$4$$$?
The answer is $$$0$$$.
Write down $$$0$$$ in the upper part of the table.
Now, $$$4-18 \cdot 0 = 4 - 0= 4$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}\color{Green}{0}&\phantom{2}&\phantom{2}&\phantom{.}&\phantom{2}&\phantom{2}&\phantom{2}\end{array}&\\\color{Magenta}{18}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}\color{Green}{4}& 0 \downarrow&0&.&0&0&0\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}4&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 2
How many $$$18$$$'s are in $$$40$$$?
The answer is $$$2$$$.
Write down $$$2$$$ in the upper part of the table.
Now, $$$40-18 \cdot 2 = 40 - 36= 4$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}0&\color{Crimson}{2}&\phantom{2}&\phantom{.}&\phantom{2}&\phantom{2}&\phantom{2}\end{array}&\\\color{Magenta}{18}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}4&0& 0 \downarrow&.&0&0&0\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}\color{Crimson}{4}&\color{Crimson}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}3&6&\phantom{.}\\\hline\phantom{lll}&4&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 3
How many $$$18$$$'s are in $$$40$$$?
The answer is $$$2$$$.
Write down $$$2$$$ in the upper part of the table.
Now, $$$40-18 \cdot 2 = 40 - 36= 4$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}0&2&\color{Red}{2}&\phantom{.}&\phantom{2}&\phantom{2}&\phantom{2}\end{array}&\\\color{Magenta}{18}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}4&0&0&.& 0 \downarrow&0&0\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}4&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}3&6&\phantom{.}\\\hline\phantom{lll}&\color{Red}{4}&\color{Red}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&3&6&\phantom{.}\\\hline\phantom{lll}&&4&\phantom{.}&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 4
How many $$$18$$$'s are in $$$40$$$?
The answer is $$$2$$$.
Write down $$$2$$$ in the upper part of the table.
Now, $$$40-18 \cdot 2 = 40 - 36= 4$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}0&2&2&.&\color{DarkBlue}{2}&\phantom{2}&\phantom{2}\end{array}&\\\color{Magenta}{18}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}4&0&0&.&0& 0 \downarrow&0\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}4&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}3&6&\phantom{.}\\\hline\phantom{lll}&4&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&3&6&\phantom{.}\\\hline\phantom{lll}&&\color{DarkBlue}{4}&\phantom{.}&\color{DarkBlue}{0}\\&-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&3&\phantom{.}&6\\\hline\phantom{lll}&&&&4&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 5
How many $$$18$$$'s are in $$$40$$$?
The answer is $$$2$$$.
Write down $$$2$$$ in the upper part of the table.
Now, $$$40-18 \cdot 2 = 40 - 36= 4$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}0&2&2&.&2&\color{BlueViolet}{2}&\phantom{2}\end{array}&\\\color{Magenta}{18}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}4&0&0&.&0&0& 0 \downarrow\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}4&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}3&6&\phantom{.}\\\hline\phantom{lll}&4&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&3&6&\phantom{.}\\\hline\phantom{lll}&&4&\phantom{.}&0\\&-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&3&\phantom{.}&6\\\hline\phantom{lll}&&&&\color{BlueViolet}{4}&\color{BlueViolet}{0}\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&3&6\\\hline\phantom{lll}&&&&&4&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 6
How many $$$18$$$'s are in $$$40$$$?
The answer is $$$2$$$.
Write down $$$2$$$ in the upper part of the table.
Now, $$$40-18 \cdot 2 = 40 - 36= 4$$$.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}0&2&2&.&2&2&\color{Peru}{2}\end{array}&\\\color{Magenta}{18}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}4&0&0&.&0&0&0\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}4&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}3&6&\phantom{.}\\\hline\phantom{lll}&4&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&3&6&\phantom{.}\\\hline\phantom{lll}&&4&\phantom{.}&0\\&-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&3&\phantom{.}&6\\\hline\phantom{lll}&&&&4&0\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&3&6\\\hline\phantom{lll}&&&&&\color{Peru}{4}&\color{Peru}{0}\\&&&&-&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&3&6\\\hline\phantom{lll}&&&&&&4\end{array}&\begin{array}{c}\end{array}\end{array}$$$
As can be seen, the digits are repeating with some period, therefore it is a repeating (or recurring) decimal: $$$\frac{400}{18}=22.2 \overline{2}$$$
Answer: $$$\frac{400}{18}=22.2\overline{2}$$$