A rational number could be nonterminating as long as the pattern repeats. The definition of a rational number is a number that can be written as a ratio of two integers.