Skip to content · ⁨Bỏ qua nội dung⁩

Numbers & operators · ⁨Số & toán tử⁩

English

Two kinds of number

  • An integer (int) is a whole number, like 7 or -3.
  • A float is a number with a decimal point, like 2.5.
  • Division with / always gives a float, even 4 / 2 → 2.0.
Tiếng Việt

Hai loại số

  • Một số nguyên (int) là số nguyên, ví dụ như 7 hoặc -3.
  • Một số thập phân (float) là số có dấu phẩy thập phân, ví dụ như 2.5.
  • Phép chia với / luôn trả về số thập phân, ngay cả 4 / 2 → 2.0.

Handout · ⁨Tài liệu⁩

Log in or create account · ⁨Đăng nhập hoặc tạo tài khoản⁩

IGCSE, A-Level & AP