To put a fraction into a decimal number, you just have to divide the numerator by the denominator.
Transforming fractions into decimal numbers
How to transform a fraction into a decimal number?
It is very simple for fractions that can be expanded to have a 1 followed by only zeroes in the denominator. But this is only possible if the denominator has 2 and 5 as only prime factorsl
Then you do the following:
First expand the fraction so that it has a power of 10 (i.e. a 1 followed by zeroes) in the denominator
Then count how many zeroes the power of 10 has. This is exactly the amount of numbers after the decimal sign.