亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

PHP integer type is an integer

I keep saying, don't be intimidated by the meaning of a noun.

What exactly is plastic surgery?

The so-called integer type is the integer that everyone learns in mathematics.

Integer type - Integer, also called in English: integer. English abbreviation: int

Integers are divided into:

1.10 base

2.8 base (understood, basically not used)

3.16 base (understood, basically not used)

Integers (integers) have maximum and minimum value ranges in computers.

[Understand knowledge points, not commonly used in development] We often hear that 32-bit computers, that is, the maximum range of a 32-bit computer for one operation is -232 to 232-1 .
What about 64-bit computers? ——QQ截圖20161114092320.png

Decimal declaration:

<?php
//為了方便大家記憶和前期學習,英文不好的朋友也可用拼音來聲明變量。以后再用英文來聲明變量也無所謂
//聲明變量 整數(shù),英文 int
//$int = 1000;
$zhengshu = 1000;
echo $zhengshu;
?>

Octal declaration: starts with 0, followed by an integer from 0 to 7 (understand the knowledge points)

<?php
//8進制的取值范圍最大為0-7,即0,1,2,3,4,5,6,7

$bajingzhi =  033145;
echo $bajingzhi;

?>

Hexadecimal declaration: Starts with 0x, followed by 0-f. The abcdef of 0x is not case-sensitive. (Learn about knowledge points)

<?php
//16進制的取值范圍最大為0-f,即0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f
$shiliu =  0x6ff;
echo $shiliu;
?>

The focus of this chapter is to learn how to declare a 10-system integer. It doesn't matter if you understand the declarations of octal and hexadecimal systems.

Thinking misunderstanding: It is easy to think about how the octal and hexadecimal systems came into being.


Continuing Learning
||
<?php //16進制的取值范圍最大為0-f,即0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f $shiliu = 0x6ff; echo $shiliu; ?>
submitReset Code