Murtoluvusta desimaaliluvuksi -laskin
Muunna murtoluvut desimaaliluvuiksi vaiheittain
Laskin muuntaa annetun murtoluvun (aidon tai epäaidon) tai sekaluvun desimaalimuotoon (mahdollisesti jaksolliseen) ja näyttää välivaiheet.
Solution
Your input: convert $$$\frac{500}{100}$$$ into a decimal.
Write the problem in the special format:
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccc}\phantom{5}&\phantom{.}&\phantom{0}\end{array}&\\100&\phantom{-}\enclose{longdiv}{\begin{array}{ccc}5&0&0\end{array}}&\\&\begin{array}{lll}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 1
How many $$$100$$$'s are in $$$5$$$?
The answer is $$$0$$$.
Write down $$$0$$$ in the upper part of the table.
Now, $$$5-100 \cdot 0 = 5 - 0= 5$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccc}\color{DarkMagenta}{0}&\phantom{0}&\phantom{5}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{100}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccc}\color{DarkMagenta}{5}& 0 \downarrow&0&.&0\end{array}}&\\&\begin{array}{llll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 2
How many $$$100$$$'s are in $$$50$$$?
The answer is $$$0$$$.
Write down $$$0$$$ in the upper part of the table.
Now, $$$50-100 \cdot 0 = 50 - 0= 50$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccc}0&\color{OrangeRed}{0}&\phantom{5}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{100}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccc}5&0& 0 \downarrow&.&0\end{array}}&\\&\begin{array}{llll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}\color{OrangeRed}{5}&\color{OrangeRed}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}5&0&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 3
How many $$$100$$$'s are in $$$500$$$?
The answer is $$$5$$$.
Write down $$$5$$$ in the upper part of the table.
Now, $$$500-100 \cdot 5 = 500 - 500= 0$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccc}0&0&\color{DarkCyan}{5}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{100}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccc}5&0&0&.& 0 \downarrow\end{array}}&\\&\begin{array}{llll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}\color{DarkCyan}{5}&\color{DarkCyan}{0}&\color{DarkCyan}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}5&0&0&\phantom{.}\\\hline\phantom{lll}&&0&\phantom{.}&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 4
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}{ccccc}0&0&5&.&\color{GoldenRod}{0}\end{array}&\\\color{Magenta}{100}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccc}5&0&0&.&0\end{array}}&\\&\begin{array}{llll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}5&0&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}5&0&0&\phantom{.}\\\hline\phantom{lll}&&\color{GoldenRod}{0}&\phantom{.}&\color{GoldenRod}{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{500}{100}=5.0$$$
Answer: $$$\frac{500}{100}=5.0$$$