integer

integer — 名詞

1. A number that is a complete unit — for example, 1, 2, -3, or 0 — and is not expr

1.名詞B1
釋義

整數

不包含分數或小數的整數

A number that is a complete unit — for example, 1, 2, -3, or 0 — and is not expressed as a fraction or a decimal. Integers include positive counting numbers, zero, and negative whole numbers.

例句

The teacher drew a number line and asked the class to mark integers between -3 and 5.

老師畫了一條數線,並要求全班同學標出 -3 到 5 之間的所有整數。

math context: integers on a number line

Quinn's game code stores the player's score as an integer, never as a decimal.

Quinn 的遊戲程式把玩家分數儲存為整數,而不是小數。

programming context: integer vs decimal

同義詞
  • whole number

    Everyday term; often used to mean the same as integer, though some speakers use it only for non-negative numbers

  • natural number

    Technical term for positive integers (1, 2, 3...); may or may not include zero depending on the field

反義詞
  • fraction

    A part of a whole, written as one number over another

  • decimal

    A number written with a decimal point, not a whole number

用法筆記

Zero and negative numbers are integers, not just positive whole numbers. The set of integers is often written as {..., -2, -1, 0, 1, 2, ...}.

常見錯誤

The answer 3.5 is an integer.
The answer 3.5 is not an integer; it is a decimal.
💡Integers cannot have a fractional or decimal part.
Zero is not an integer.
Zero is an integer.
💡Many learners think only positive numbers count as integers, but zero is included.
-7 is a fraction, not an integer.
-7 is an integer.
💡Negative whole numbers are also integers.