分数转小数计算器
逐步将分数转换为小数
该计算器会将给定的分数(真分数或假分数)或带分数转换为小数(可能为循环小数),并显示步骤。
Solution
Your input: convert $$$\frac{1700}{20}$$$ into a decimal.
Write the problem in the special format:
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccc}\phantom{8}&\phantom{5}&\phantom{.}&\phantom{0}\end{array}&\\20&\phantom{-}\enclose{longdiv}{\begin{array}{cccc}1&7&0&0\end{array}}&\\&\begin{array}{llll}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 1
How many $$$20$$$'s are in $$$1$$$?
The answer is $$$0$$$.
Write down $$$0$$$ in the upper part of the table.
Now, $$$1-20 \cdot 0 = 1 - 0= 1$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}\color{Crimson}{0}&\phantom{0}&\phantom{8}&\phantom{5}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{20}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}\color{Crimson}{1}& 7 \downarrow&0&0&.&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}1&7&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 2
How many $$$20$$$'s are in $$$17$$$?
The answer is $$$0$$$.
Write down $$$0$$$ in the upper part of the table.
Now, $$$17-20 \cdot 0 = 17 - 0= 17$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&\color{DarkBlue}{0}&\phantom{8}&\phantom{5}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{20}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&7& 0 \downarrow&0&.&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}\color{DarkBlue}{1}&\color{DarkBlue}{7}&\phantom{.}\\-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}1&7&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 3
How many $$$20$$$'s are in $$$170$$$?
The answer is $$$8$$$.
Write down $$$8$$$ in the upper part of the table.
Now, $$$170-20 \cdot 8 = 170 - 160= 10$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&\color{SaddleBrown}{8}&\phantom{5}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{20}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&7&0& 0 \downarrow&.&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}1&7&\phantom{.}\\-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}\color{SaddleBrown}{1}&\color{SaddleBrown}{7}&\color{SaddleBrown}{0}&\phantom{.}\\-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}1&6&0&\phantom{.}\\\hline\phantom{lll}&1&0&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 4
How many $$$20$$$'s are in $$$100$$$?
The answer is $$$5$$$.
Write down $$$5$$$ in the upper part of the table.
Now, $$$100-20 \cdot 5 = 100 - 100= 0$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&8&\color{Chocolate}{5}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{20}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&7&0&0&.& 0 \downarrow\end{array}}&\\&\begin{array}{lllll}-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}1&7&\phantom{.}\\-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}1&7&0&\phantom{.}\\-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}1&6&0&\phantom{.}\\\hline\phantom{lll}&\color{Chocolate}{1}&\color{Chocolate}{0}&\color{Chocolate}{0}&\phantom{.}\\-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&1&0&0&\phantom{.}\\\hline\phantom{lll}&&&0&\phantom{.}&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 5
How many $$$20$$$'s are in $$$0$$$?
The answer is $$$0$$$.
Write down $$$0$$$ in the upper part of the table.
Now, $$$0-20 \cdot 0 = 0 - 0= 0$$$.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&8&5&.&\color{Blue}{0}\end{array}&\\\color{Magenta}{20}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&7&0&0&.&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}1&7&\phantom{.}\\-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}1&7&0&\phantom{.}\\-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}1&6&0&\phantom{.}\\\hline\phantom{lll}&1&0&0&\phantom{.}\\-&\phantom{7}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&1&0&0&\phantom{.}\\\hline\phantom{lll}&&&\color{Blue}{0}&\phantom{.}&\color{Blue}{0}\\&&-&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&&&&\phantom{.}&0\\\hline\phantom{lll}&&&&&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Since the remainder is $$$0$$$, then we are done.
Therefore, $$$\frac{1700}{20}=85.0$$$
Answer: $$$\frac{1700}{20}=85.0$$$