This article is unfinished. Please consider joining and adding to this article. Read about Page layout beforehand.
- An integer is a whole number stored as a positive binary number, or a two’s complement binary number (which allows storage of positive and negative numbers)
An integer is a whole number. An integer can be positive or negative. Computers use binary to store integers. The maximum range of numbers that an integer can store depends on the number of bits the integer can use. In many languages, a programmer can choose to represent a number using INT32 or INT64 - 32 bits or 64 bits for each integer. For signed bit integers, the biggest possible number with 32 bits is 2,147,483,647, and for 64 bits it is 9,223,372,036,854,775,807.