for this case we have to, by definition:
a number is rational when it can be represented as the quotient of two integers. example:
is a rational number
on the other hand, the irrational numbers are those that can not be written as quotients of integers. they are characterized because their decimal representation is infinite and non-periodic. example:
we have: 291.87
this number has a finite decimal expansion. then it is rational.