Integer

noun
  1. mathematics
    a number that can be written without a fractional or decimal component.
  2. computing
    a common data type that can be manipulated using basic arithmetic operations.
All terms

Description

An integer is a number that can be written without a fractional or decimal component. It includes the natural numbers , and the negatives of the natural numbers . In other words, integers can be positive, negative, or zero, but they must be whole numbers.

The set of all integers is often denoted by the Latin capital letter , presented in a double-struck typeface.

In computing, integers are a common data type that can be manipulated using basic arithmetic operations. The storage size for an integer variable can vary depending on the programming language and the specific type of integer, but it’s generally large enough to handle most numerical calculations that a program might need to perform.

Related Terms

Number

A number is a mathematical object used to count, measure, and label. The main types of numbers include natural numbers, whole numbers, integers, rational numbers, real numbers, and complex numbers. Each of these types includes different sets of numbers and has different properties.

Set of Integers

The set of integers, denoted as ℤ, includes all positive and negative whole numbers, along with zero. For example, the numbers -2, 0 and 3 are all integers, but numbers like 1/2 or the square root of 2 are not.