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