## Fractions to Decimals

Each vulgar fraction may be represented as a decimal fraction. If a series of digits is repeated ad infinitum in the decimal fraction it is called a recurring decimal fraction. The repeating series of digits is marked by a above line.

The program transforms vulgar fractions into terminating or recurring decimal fractions and determines the recurring decimal as well as its length after you have entered the numerator and the denominator of the fraction.

### Example:

numerator : 533 denominator : 444 ___ 533/444 = 1.20045 The recurring decimal starts with the 3rd digit following the decimal point and is 3 digits long.

If the depiction of a decimal fraction exceeds one line three dots mark its abortion.

____________________________________________ 13/110110 = 0.000118063754427390791027154663518299881936... The recurring decimal starts with the 2nd digit following the decimal point and is 66 digits long. 13/111101 = 0.0001170106479689651758310006210565161429690101799263... after 1000 decimals not recurring.