Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 11:23, 9 August 2025 by Dylan (talk | contribs) (new)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

An integer is a data type which can store whole numbers.

You can generally apply the usual arithmetic operators to integers (add, subtract, multiply, divide, exponent, etc.)

Signed and unsigned integers

edit edit source

There are two ways that CPUs store integers:

Examples of integer values

edit edit source
4
1812
-47
0
39010442

Non-examples of integer values

edit edit source
7.2
"pineapple"
-62.87
true
't'