In decimal representation, rational numbers either terminate after a finite number of digits or produce a repeating sequence. Conversely, any repeating decimal can be converted into a rational number e.g. (10 * 0.333.. – 0.333…) / 9 = 1/3.

# Rational numbers in decimal

**27**
*Thursday*
Oct 2016

Posted Algorithms, Java, Mathematics, Number Theory

in