# How can a repeating decimal be written as a fraction?

##### 1 Answer

I will explain it using an example.

Assume you want to write a decimal number 0.(2) as a proper fraction

You can do it so.

1) write an equation

2) multiply it by 10

3) right-hand side can be written as

So we have

This algorithm can be used for any fractions which have no digits between a decimal point and the period (repeating digits).

If the period has more digits in point 2 you have to multiply by

The less formal but easier way to write such numbers as fractions could be :

You write

Finally you must check if the nominator and denominator have any common divisors. If yes you have to divide both parts of the fraction by the divisors. Ex.

Both 24 and 99 can be divided by 3 so the answer is