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