Source: Repeating decimal - Wikipedia
I need to determine the length of a repeating decimal, but I cannot get the precise answer with Javascript.
Do you have an idea how to calculate it?
I am solving the problem 26 of Euler Project.
Source: https://www.freecodecamp.org/learn/project-euler/project-euler-problems-1-to-100/problem-26-reciprocal-cycles