This calculator rewrites a decimal as a reduced fraction. The fraction and decimal represent the same point on the number line, but the fraction can make a ratio easier to recognize. For example, 0.75 becomes 3/4 and −1.5 becomes −3/2.
The converter accepts positive numbers, negative numbers, zero and whole numbers. It uses a bounded continued-fraction approximation, which is helpful when a decimal was rounded or cannot be represented exactly by a short fraction.
