Search for a tool
Repeating Decimals

Tool to find the period of a fraction or a decimal number with repeating decimals. The period is a set of digits that is repeated at infinity in the decimals of the number (usually a rational number or a periodic fraction).

Results

Repeating Decimals -

Tag(s) : Arithmetics

Share
dCode and you

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Please, check our community Discord for help requests!

Thanks to your feedback and relevant comments, dCode has developped the best Repeating Decimals tool, so feel free to write! Thank you !

# Repeating Decimals

## Fraction Finder

Tool to find the period of a fraction or a decimal number with repeating decimals. The period is a set of digits that is repeated at infinity in the decimals of the number (usually a rational number or a periodic fraction).

### What are repeating decimal in a fraction?

The periodic decimal development of a fraction is the sequence of numbers which is repeated at infinity in the decimal writing of the number.

Example: 1/3 = 0.3333333333 ... The digit 3 is repeated to infinity

Example: 1/27 = 0.037037037037037 ... The digits 037 are repeated to infinity

It is better to write the fraction in irreducible form.

Inverses of prime numbers provide interesting periodic decimal developments.

### What are terminating decimal in a fraction?

A terminating decimal indicates that no sequence of numbers repeats infinitely in the decimal writing of the number.

Example: 4/25 = 0.16 the development is finished and does not continue

### How to write repeating decimal?

Multiple notations are possible.

The first uses ... points of suspension, but does not define the part that repeats. It is practical but not rigorous and therefore not recommended.

Example: $37/300 = 0.12333333333 ...$

Notation with a bar above the repeated part.

Example: $37/300 = 0.12 \overline{3}$

Notation with a bar below the repeated part.

Example: $37/300 = 0.12 \underline{3}$

Notation between brackets

Example: $37/300 = 0.12 [3]$

### How to find the fraction from decimals?

Take $x$ a number, and $n$ the size (the number of digits) of the periodic part of the decimal expansion. To get a fractional writing, solve $x \times 10^n - x$.

Example: $x = 0.1\overline{6} = 0.1666666...$, the repeating portion is $6$, a single digit so $n=1$. Calculate $10^1 \times x = 1.\overline{6} = 1.6666666...$ and solve $10x−x = 9x = 1.\overline{6}−0.1\overline{6}=1.5 \iff 9x=1.5 \iff x=1.5/9 = 15/90 = 1/6$

## Source code

dCode retains ownership of the online 'Repeating Decimals' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Repeating Decimals download for offline use on PC, tablet, iPhone or Android !

## Need Help ?

Please, check our community Discord for help requests!