TAILIEUCHUNG - A Programmer’s Introduction to PHP 4.0 phần 2

hoặc hệ thống thu hồi, mà không có sự cho phép trước bằng văn bản của chủ sở hữu quyền tác giả và nhà xuất bản. Thay vì sử dụng một biểu tượng thương hiệu với tất cả sự xuất hiện của một tên đã đăng ký nhãn hiệu, chúng tôi sử dụng tên duy nhất trong một biên tập thời trang | CHAPTER 2 Variables and Data Types Data types form the backbone of any programming language providing the programmer with a means by which to represent various types of information. PHP provides support for six general data types Integers Floating-point numbers Strings Arrays Objects Booleans One of the pillars of any programming language is its support for numbers. PHP supports both integers and real double numbers. Each of these number formats is described in further detail later. Integer Values An integer is nothing more than a whole number. Integers are represented as a series of one or more digits. Some examples of integers are 5 591 52 31 Chapter 2 Octals and Hexadecimals Integers in octal base 8 and hexadecimal base 16 formats are supported. Octal values begin with the digit 0 followed by a sequence of digits each ranging from 0 to 7. Some examples of octal integers are 0422 0534 Hexadecimal integers can consist of the digits 0 through 9 or the letters a A through f F . All hexadecimal integers are preceded by 0x or 0X. Some examples of hexadecimal integers are 0X3FF 0X22abc Floating-Point Numbers A floating-point number is essentially a real numbers that is a number denoted either wholly or in part by a fraction. Floating-point numbers are useful for representing values that call for a more accurate representation such as temperature or monetary figures. PHP supports two floating-point formats standard notation and scientific notation. Standard Notation Standard notation is a convenient representation typically used for real numbers for example monetary values. Some examples are Scientific Notation Scientific notation is a more convenient representation for very large and very small numbers such as interplanetary distances or atomic measurements. Some examples include 3e8 32 Variables and Data Types String Values A string is a group of characters that are represented as a single entity but can also be examined on a .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.