分數轉小數計算器

逐步將分數轉換為小數

此計算器會將給定的分數(真分數或假分數)或帶分數轉換為小數(可能為循環小數),並顯示計算步驟。

Enter a fraction or

If you don't need a mixed number, leave the left cell empty.
If you need a negative fraction, write the minus sign in the left cell.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Solution

Your input: convert $$$\frac{100}{400}$$$ into a decimal.

Write the problem in the special format:

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccc}\phantom{0}&\phantom{.}&\phantom{2}&\phantom{5}\end{array}&\\400&\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 $$$400$$$'s are in $$$1$$$?

The answer is $$$0$$$.

Write down $$$0$$$ in the upper part of the table.

Now, $$$1-400 \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{Green}{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{2}&\phantom{5}\end{array}&\\\color{Magenta}{400}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}\color{Green}{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 $$$400$$$'s are in $$$10$$$?

The answer is $$$0$$$.

Write down $$$0$$$ in the upper part of the table.

Now, $$$10-400 \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{Chocolate}{0}&\phantom{0}&\phantom{.}&\phantom{2}&\phantom{5}\end{array}&\\\color{Magenta}{400}&\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{Chocolate}{1}&\color{Chocolate}{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 $$$400$$$'s are in $$$100$$$?

The answer is $$$0$$$.

Write down $$$0$$$ in the upper part of the table.

Now, $$$100-400 \cdot 0 = 100 - 0= 100$$$.

Bring down the next digit of the dividend.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&\color{GoldenRod}{0}&\phantom{.}&\phantom{2}&\phantom{5}\end{array}&\\\color{Magenta}{400}&\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{GoldenRod}{1}&\color{GoldenRod}{0}&\color{GoldenRod}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&&0&\phantom{.}\\\hline\phantom{lll}1&0&0&\phantom{.}&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 4

How many $$$400$$$'s are in $$$1000$$$?

The answer is $$$2$$$.

Write down $$$2$$$ in the upper part of the table.

Now, $$$1000-400 \cdot 2 = 1000 - 800= 200$$$.

Bring down the next digit of the dividend.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&0&.&\color{Purple}{2}&\phantom{5}\end{array}&\\\color{Magenta}{400}&\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}&&0&\phantom{.}\\\hline\phantom{lll}\color{Purple}{1}&\color{Purple}{0}&\color{Purple}{0}&\phantom{.}&\color{Purple}{0}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&\phantom{.}&8&0&0\\\hline\phantom{lll}&2&0&\phantom{.}&0&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 5

How many $$$400$$$'s are in $$$2000$$$?

The answer is $$$5$$$.

Write down $$$5$$$ in the upper part of the table.

Now, $$$2000-400 \cdot 5 = 2000 - 2000= 0$$$.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&0&.&2&\color{DarkMagenta}{5}\end{array}&\\\color{Magenta}{400}&\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}&&0&\phantom{.}\\\hline\phantom{lll}1&0&0&\phantom{.}&0\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&\phantom{.}&8&0&0\\\hline\phantom{lll}&\color{DarkMagenta}{2}&\color{DarkMagenta}{0}&\phantom{.}&\color{DarkMagenta}{0}&\color{DarkMagenta}{0}\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}&2&0&\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}{400}=0.25$$$

Answer: $$$\frac{100}{400}=0.25$$$


Please try a new game Rotatly