Converting 21.040504 to a Fraction
Step-by-step explanation of how to convert 21.040504 to a fraction

Result

21.040504 =
2630063
125000
Mixed number:
21
5063
125000

Step 1: Identify the number of decimal places

The decimal 21.040504 has 6 decimal places.

Step 2: Multiply by the appropriate power of 10

Multiply by 106 = 1000000 to eliminate the decimal point.

21.040504 × 1000000 = 21040504

Step 3: Write as a fraction

21.040504 =

21040504
1000000

Step 4: Simplify the fraction

Find the greatest common divisor (GCD) of 21040504 and 1000000.

GCD(21040504, 1000000) = 8

Divide both the numerator and denominator by the GCD:

21040504
1000000

=

21040504 ÷ 8
1000000 ÷ 8

=

2630063
125000
Related Conversions
Other decimal to fraction conversions you might find useful