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