What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Boolean vs Integer - What's the difference?

boolean | integer |

As nouns the difference between boolean and integer

is that boolean is a variable that can hold a single true/false (1/0) value while integer is an element of the infinite and numerable set {...,-3,-2,-1,0,1,2,3,...}.

As an adjective Boolean

is of or pertaining to the work of George Boole.

boolean

Adjective

(-)
  • Of or pertaining to the work of .
  • (logic, computing) Pertaining to data items that can have “true” and “false” (or, equivalently, respectively) as their only possible values and to operations on such values.
  • Derived terms

    * Boolean algebra * Boolean function * Boolean logic * Boolean ring * Boolean variable

    Noun

    (en noun)
  • (logic, computing) A variable that can hold a single true/false () value.
  • Synonyms

    * (Boolean variable) flag

    integer

    Noun

    (en noun)
  • (arithmetic) An element of the infinite and numerable set {...,-3,-2,-1,0,1,2,3,...}.
  • Synonyms

    * whole number, when understood to include negative numbers and zero.

    Hypernyms

    * rational number ** real number * Gaussian integer ** quadratic integer *** algebraic integer **** algebraic number

    Hyponyms

    * natural number * zero

    Derived terms

    * algebraic integer * quadratic integer

    Anagrams

    * ----