Conversor de Decimal para Fração — Formula
Decimal to Fraction Converter
Method
1. Multiply the decimal by the max denominator 2. Round to the nearest integer to get the numerator 3. Use the GCD (Greatest Common Divisor) to simplify 4. Divide both numerator and denominator by the GCD
Example: 0.375 with max denominator 1000 → 375/1000 → GCD(375,1000) = 125 → 3/8
Exemplo Resolvido
Convert 0.375 to a fraction.
- 0.375 × 1000 = 375 (numerator before simplification)
- GCD(375, 1000) = 125
- Numerator = 375 / 125 = 3
- Denominator = 1000 / 125 = 8
- Result: 3/8