English Reference
Noun

integer

n. countable
C1 Advanced US /ˈɪntədʒɝ/ UK /ˈɪntɪdʒɐ/ in·te·ger UK spelling integer's, integer's

n.a whole number that does not have a fraction or a decimal part. It can be positive, negative, or zero.

n.a member of the set of whole numbers, including zero and negative equivalents. Contrasted with fractions and irrational numbers.


SIMPLE

The number five is an integer, but five point five is not.

CONTEXTUAL

When writing the code, ensure the variable only accepts an integer to avoid errors with decimal points.

COMPLEX

In many programming languages, dividing one integer by another will result in a truncated whole number unless the programmer specifies a floating-point output.

Usage

Commonly used in mathematical and computing contexts; often paired with 'positive', 'negative', or 'consecutive'.


Borrowed from Latin integer (“whole”), from Proto-Italic *əntagros (“untouched”). Doublet of entier and entire. Related to English tact, thack, and thwack.

Etymology adapted from Wiktionary, available under CC BY-SA 4.0.

This entry
Origin itc-pro *əntagros
Level C1 · Advanced
Frequency Frequent
Updated