Until you become expert at this I suggest you do this in two stages (using c and d separately).
Suppose there are c digits after the decimal place where the digits are non-repeating, after which you get a repeating pattern of a string of d digits. Then the numerator is the old original string including one lot of the repeated digits minus the original string with none of the repeating digits. The denominator is 10c*(10d - 1), which is a string of d 9s followed by c 0s.
For example 123.26159159… There are 2 digits, "26", after the decimal point before the repeats kick in so c = 2, and the repeating string "159" is 3 digits long so d = 3. So the numerator is 12326159 – 12326 = 12313833 and the denominator is 99900 Therefore the fraction is 12313833/99900.
Check if the fraction can be simplified.
repeating decimal 1.1 as a fraction = 10/9
5/11
27/100
0.345345 = = 69069/200000
It is a repeating decimal.
repeating decimal 1.1 as a fraction = 10/9
If the decimal is terminating or repeating then it can be written as a fraction. Decimal representations which are non-terminating and non-repeating cannot be expressed as a fraction.
If it's a repeating decimal then as a fraction it is 16/99
Answer = 9/25
5/11
27/100
No... you can write it to any number of decimal places.
0.345345 = = 69069/200000
It is 7/9.
The fraction of the repeating decimal 0.7... is 7/9
An example of a repeating decimal is the fraction 1/6. One sixth equals zero point one six six repeating.
It is a repeating decimal.