Terminating decimal (source code)

= Terminating decimal

A <decimal representation> with only finitely many nonzero fractional digits. A <reduced fraction> has this property exactly when its <denominator> has no <prime factors> other than two and five. The zero tail is distinguished from the genuine repeating block measured by <decimal period from multiplicative order>.