integer
integer — 名詞
1. A number that is a complete unit — for example, 1, 2, -3, or 0 — and is not expr
整數
不包含分數或小數的整數
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
The recipe uses whole eggs, which are integers, and milk in fractions of a cup.
食譜用了完整的蛋,蛋是整數,而牛奶則以幾分之幾杯來計算。
On a number line, integers are evenly spaced dots that include zero and negative values.
在數線上,整數以等距的點來表示,包含了零和負數。
- 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
用法筆記
Zero and negative numbers are integers, not just positive whole numbers. The set of integers is often written as {..., -2, -1, 0, 1, 2, ...}.