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
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!


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

Repeating Decimals

Sponsored ads

Recurring Decimal Detection A/B




Terminating Decimal Detection




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).

Answers to Questions

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 source code of the script Repeating Decimals online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be released for free. To download the online Repeating Decimals script for offline use on PC, iPhone or Android, ask for price quote on contact page !

Questions / Comments

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


Source : https://www.dcode.fr/number-repeating-decimal
© 2020 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
Feedback