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