# integer

A whole number. The following are integers:0

1

-125

144457

In contrast, the following are *not* integers:

5.34

-1.0

1.3E4

"string"

The first three are *floating-point numbers*; the last is a character string.

Integers, floating-point numbers, and character strings constitute the basic data types that most computers support. There are often different sizes of integers available; for example, PCs support short integers, which are 2 bytes, and long integers, which are 4 bytes.

TECH RESOURCES FROM OUR PARTNERS

## WEBOPEDIA WEEKLY

Stay up to date on the latest developments in Internet terminology with a free weekly newsletter from Webopedia. Join to subscribe now.