分數轉小數計算器
逐步將分數轉換為小數
此計算器會將給定的分數(真分數或假分數)或帶分數轉換為小數(可能為循環小數),並顯示計算步驟。
Solution
Your input: convert $$$\frac{100}{80}$$$ into a decimal.
Write the problem in the special format:
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccc}\phantom{1}&\phantom{.}&\phantom{2}&\phantom{5}\end{array}&\\80&\phantom{-}\enclose{longdiv}{\begin{array}{ccc}1&0&0\end{array}}&\\&\begin{array}{lll}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 1
How many $$$80$$$'s are in $$$1$$$?
The answer is $$$0$$$.
Write down $$$0$$$ in the upper part of the table.
Now, $$$1-80 \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{1}&\phantom{.}&\phantom{2}&\phantom{5}\end{array}&\\\color{Magenta}{80}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}\color{Crimson}{1}& 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}1&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 2
How many $$$80$$$'s are in $$$10$$$?
The answer is $$$0$$$.
Write down $$$0$$$ in the upper part of the table.
Now, $$$10-80 \cdot 0 = 10 - 0= 10$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&\color{DarkBlue}{0}&\phantom{1}&\phantom{.}&\phantom{2}&\phantom{5}\end{array}&\\\color{Magenta}{80}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&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{DarkBlue}{1}&\color{DarkBlue}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}1&0&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 3
How many $$$80$$$'s are in $$$100$$$?
The answer is $$$1$$$.
Write down $$$1$$$ in the upper part of the table.
Now, $$$100-80 \cdot 1 = 100 - 80= 20$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&\color{Green}{1}&\phantom{.}&\phantom{2}&\phantom{5}\end{array}&\\\color{Magenta}{80}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&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}1&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}\color{Green}{1}&\color{Green}{0}&\color{Green}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&8&0&\phantom{.}\\\hline\phantom{lll}&2&0&\phantom{.}&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 4
How many $$$80$$$'s are in $$$200$$$?
The answer is $$$2$$$.
Write down $$$2$$$ in the upper part of the table.
Now, $$$200-80 \cdot 2 = 200 - 160= 40$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&1&.&\color{Chartreuse}{2}&\phantom{5}\end{array}&\\\color{Magenta}{80}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&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}1&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}1&0&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&8&0&\phantom{.}\\\hline\phantom{lll}&\color{Chartreuse}{2}&\color{Chartreuse}{0}&\phantom{.}&\color{Chartreuse}{0}\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}&1&6&\phantom{.}&0\\\hline\phantom{lll}&&4&\phantom{.}&0&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 5
How many $$$80$$$'s are in $$$400$$$?
The answer is $$$5$$$.
Write down $$$5$$$ in the upper part of the table.
Now, $$$400-80 \cdot 5 = 400 - 400= 0$$$.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&1&.&2&\color{Peru}{5}\end{array}&\\\color{Magenta}{80}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&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}1&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}1&0&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&8&0&\phantom{.}\\\hline\phantom{lll}&2&0&\phantom{.}&0\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}&1&6&\phantom{.}&0\\\hline\phantom{lll}&&\color{Peru}{4}&\phantom{.}&\color{Peru}{0}&\color{Peru}{0}\\&-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}&&4&\phantom{.}&0&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{100}{80}=1.25$$$
Answer: $$$\frac{100}{80}=1.25$$$