Number - Integer - <math>\mathbb{Z} </math>


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 <math>-2^{n − 1}</math> to <math>2^{n − 1} − 1</math> , where n is 64.



In this example, 13 is the integer.


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



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 <math>2^{15}−1</math> , 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.

Documentation / Reference

Powered by ComboStrap