PHP function description: description of the decimal, binary, octal, and hexadecimal conversion functions. 1. description of the decimalsystem conversion function 1: The decimal to binary decbin () function. for example, echodecbin (12); 1100
One, decimal system conversion function description1, decimal to Binary decbin () function, the following example
Echo Decbin (12); Output 1100
Echo Decbin (26); Output 11010
Decbin
(PHP 3, PHP 4, PHP 5)
Decbin--decimal conversion into
The first part of the Chinese character encoding Study Series. the PHP function is a detailed description of the conversion functions for decimal, binary, octal, and hexadecimal conversion. it mainly describes the conversion methods for each
Floating Point EncodingFloating Point Number Encoding
(1) floating point:The data that can be moved to the decimal point is called a floating point. It can be expressed as follows: N = M * REWhere, M-tail number,The base of the R-level (that is, the
Floating Point Number Encoding
(1) floating point:The data that can be moved to the decimal point is called a floating point. It can be expressed as follows: n = m * reWhere, M-tail number,The base of the R-level (that is, the base of the index ).
Directory
Code Restoration Technology
I. Introduction code Restoration
Ii. Data Type representation in code Restoration
1. Integer type
2. unsigned integer
3. signed integer
4. Floating Point Data Type
5.
The PHP binary conversion function is as follows: Bindec ()-Binary conversion to decimal decbin ()-Decimal conversion to Binary Dechex ()-Decimal conversion to hexadecimal decoct ()-Decimal conversion to octal Hexdec ()-16 binary to decimal oc Tdec (
The PHP binary conversion function is as follows: Bindec ()-Binary conversion to decimal decbin ()-Decimal conversion to Binary Dechex ()-Decimal conversion to hexadecimal decoct ()-Decimal conversion to octal Hexdec ()-16 binary to decimal oc Tdec (
Numbers, cardinality and representations
integerIntegers are these familiar numbers ...,-1, 0, +1, +2, .... Integer values are also referred to as ' complete ' and are divided into positive numbers (1 to infinity), negative numbers (-1 to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.