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