Decimal-to-Fraction Converter (DFC)

Please enable JavaScript π️ As opposed to KFC, this is DFC . We can simply type or paste the number on the first input ➡️ hit Enter ➡️ bam! The next input is for our own maximum denominator value, default is 1,000 . The range for this input is 1 to 1e11 (1 × 10¹¹, one hundred billion ) — it is used to converge a decimal to a rational approximation (i.e. to find the "best fraction" representation of a decimal number within the limit of a maximum denominator). Remember to hit Enter button every time we change either input to trigger the conversion. We can try 3.1416 or 3.14159 , an approximation for Ο (pi) — credit to Master Liu Hui (3rd-century Chinese mathematician). The century is using Gregorian, not Confucian. Hence, 3rd. Chinese calendar runs in 60-year cycles, using a combination of the Ten Heavenly Stems (倩干) and Twelve Earthly Branches (ε°ζ―). Take that, paper and pencil. But ...