分数转小数计算器
逐步将分数转换为小数
该计算器会将给定的分数(真分数或假分数)或带分数转换为小数(可能为循环小数),并显示步骤。
Solution
Your input: convert $$$\frac{500}{30}$$$ into a decimal.
Write the problem in the special format:
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccc}\phantom{1}&\phantom{6}&\phantom{.}&\phantom{6}&\phantom{6}\end{array}&\\30&\phantom{-}\enclose{longdiv}{\begin{array}{ccc}5&0&0\end{array}}&\\&\begin{array}{lll}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 1
How many $$$30$$$'s are in $$$5$$$?
The answer is $$$0$$$.
Write down $$$0$$$ in the upper part of the table.
Now, $$$5-30 \cdot 0 = 5 - 0= 5$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}\color{Peru}{0}&\phantom{1}&\phantom{6}&\phantom{.}&\phantom{6}&\phantom{6}\end{array}&\\\color{Magenta}{30}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}\color{Peru}{5}& 0 \downarrow&0&.&0&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 2
How many $$$30$$$'s are in $$$50$$$?
The answer is $$$1$$$.
Write down $$$1$$$ in the upper part of the table.
Now, $$$50-30 \cdot 1 = 50 - 30= 20$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&\color{BlueViolet}{1}&\phantom{6}&\phantom{.}&\phantom{6}&\phantom{6}\end{array}&\\\color{Magenta}{30}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}5&0& 0 \downarrow&.&0&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}\color{BlueViolet}{5}&\color{BlueViolet}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}3&0&\phantom{.}\\\hline\phantom{lll}2&0&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 3
How many $$$30$$$'s are in $$$200$$$?
The answer is $$$6$$$.
Write down $$$6$$$ in the upper part of the table.
Now, $$$200-30 \cdot 6 = 200 - 180= 20$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&1&\color{SaddleBrown}{6}&\phantom{.}&\phantom{6}&\phantom{6}\end{array}&\\\color{Magenta}{30}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}5&0&0&.& 0 \downarrow&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}3&0&\phantom{.}\\\hline\phantom{lll}\color{SaddleBrown}{2}&\color{SaddleBrown}{0}&\color{SaddleBrown}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}1&8&0&\phantom{.}\\\hline\phantom{lll}&2&0&\phantom{.}&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 4
How many $$$30$$$'s are in $$$200$$$?
The answer is $$$6$$$.
Write down $$$6$$$ in the upper part of the table.
Now, $$$200-30 \cdot 6 = 200 - 180= 20$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&1&6&.&\color{Green}{6}&\phantom{6}\end{array}&\\\color{Magenta}{30}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}5&0&0&.&0& 0 \downarrow\end{array}}&\\&\begin{array}{lllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}3&0&\phantom{.}\\\hline\phantom{lll}2&0&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}1&8&0&\phantom{.}\\\hline\phantom{lll}&\color{Green}{2}&\color{Green}{0}&\phantom{.}&\color{Green}{0}\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}&1&8&\phantom{.}&0\\\hline\phantom{lll}&&2&\phantom{.}&0&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 5
How many $$$30$$$'s are in $$$200$$$?
The answer is $$$6$$$.
Write down $$$6$$$ in the upper part of the table.
Now, $$$200-30 \cdot 6 = 200 - 180= 20$$$.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&1&6&.&6&\color{DarkBlue}{6}\end{array}&\\\color{Magenta}{30}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}5&0&0&.&0&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}3&0&\phantom{.}\\\hline\phantom{lll}2&0&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}1&8&0&\phantom{.}\\\hline\phantom{lll}&2&0&\phantom{.}&0\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}&1&8&\phantom{.}&0\\\hline\phantom{lll}&&\color{DarkBlue}{2}&\phantom{.}&\color{DarkBlue}{0}&\color{DarkBlue}{0}\\&-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}&&1&\phantom{.}&8&0\\\hline\phantom{lll}&&&&2&0\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{500}{30}=16. \overline{6}$$$
Answer: $$$\frac{500}{30}=16.\overline{6}$$$