Making a decimal into a fraction is easy as making a fraction to a demical.
Let's say for example,
1/10 = .1 or 0.1
I'll give another example,
2/5 = 0.40 or 0.4
You got to understand the part of using both ways to help you turn decimals into fractions.