Sometimes because a integer is a whole number (not a fraction or decimal)
If you solve a quadratic equation then you can get both integers and fractions/decimals