Chapter XII – Of Infinite Decimal Fractions

Summary: Shows how to convert any vulgar fraction to a decimal by long division, explains why some decimals terminate and others repeat indefinitely, and gives a systematic method to convert any repeating decimal back to a vulgar fraction.

Sources: chapter-1.3.12

Last updated: 2026-05-02


Converting a vulgar fraction to a decimal

To convert to a decimal, perform long division of by (§526). Placing the decimal point correctly yields the decimal expansion.

Terminating decimals

Fractions whose denominators have only the prime factors 2 and 5 terminate:

Non-terminating repeating decimals

All other fractions produce infinite repeating decimals. The pattern must eventually repeat because at each step of the division the remainder belongs to a finite set of possibilities; once a remainder recurs, the digit pattern cycles.

FractionDecimalRepeating block
1 digit
1 digit
1 digit
6 digits
1 digit
2 digits

For denominator 7 the period is exactly 6, because the possible non-zero remainders are — six values — so the pattern must recur within six steps (§533).

Converting a repeating decimal to a vulgar fraction

The key tool is the infinite geometric series formula (see ch1.3.11-geometrical-progressions, §520).

General rule

If figures repeat, multiply by , subtract , and solve (§537–538):

Repeating patternEquationResult
Single digit :
Two digits :
Three digits :

In general, a repeating block of digits gives denominator .

Examples

  • : (§530–531).
  • : (§538).
  • (denominator 11): , so (§536).

Algebraic proof for

Setting and computing gives , so (§531).

Connection to geometric series

A repeating decimal is an infinite geometric progression. For example, has first term and ratio ; the infinite-series sum formula gives (§530). This is an application of the result in ch1.3.11-geometrical-progressions.

Extended worked example:

Euler computes to 14 decimal places by successive long divisions, dividing first by 2, then 3, then 4, …, then 10 (§539). The result is approximately .