4. Integer

An Integer data type stores whole numbers.

The numbers can be both positive or negative but they cannot contain decimal points or fractions.


NOTE: Integers cannot store text, characters or symbols.


  • Shoe size

5, 6, 7, 8, 9

  • Year

2007, 2008

  • Price of car (£)


Also note that currency can be either a 'real' or an 'integer' data type. For small amounts of currency then decimal places would probably be used, so it would be 'real'. But for large amounts e.g. a car or house then it is unlikely that decimal places would be used - then it would be an 'integer' data type.


challenge see if you can find out one extra fact on this topic that we haven't already told you

Click on this link: Integer Data Type