Number - Integer - $\mathbb{Z}$

An integer is the part of a number that is located at the left of the radix point.

In other word, it's a number without its fractional component.

Negative numbers without fractional components are still considered integers.

An integer in computer science is an exact numeric, with binary or decimal precision and scale of 0.

God made the integers; all else is the work of man

In a database, Integer means generally that the column shall be able to exactly represent integer values (i.e., values in increments of 1) in the range of at least $-2^{n − 1}$ to $2^{n − 1} − 1$ , where n is 64.

Example

13.625


In this example, 13 is the integer.

Property

Since the non-zero denominator q of the rational number may be equal to 1, every integer is a rational number.

Function

Special Integer division:

Size

Integer max size is on some computer define by the size of a word.

This limitation may cause programs to crash. For example, if a programmer using the C language incorrectly declares as int a variable that will be used to store values greater than $2^{15}−1$ , the program will fail on computers with 16-bit integers. That variable should have been declared as long, which has at least 32 bits on any computer.