All simulators
Number SystemReal Numbers

Terminating or Recurring?

Check whether a fraction gives a terminating decimal expansion.

Controls

13
125

Live result

Simplified fraction
13/125
Decimal
0.104
Expansion
Terminating
p/q — does the denominator have only 2s and 5s?Simplified fraction: 13/125
a = 137 groups of 2b = 12563 groups of 20.104
Click to start animation

p/q terminates only when q (in lowest terms) is of the form 2ᵐ × 5ⁿ.

More from Real Numbers