A question about floating point modulo operation is a routine in the book & lt ;? Php $ a5; $ b3; echo & nbsp; $ a $ B % $ B ;? & Gt; the result of the above case Modulo is 1. The following is my personal understanding, but I am not sure. please
PHP8: PHP operators This chapter describes the PHP operators.
The operator problem exists in every language, because we are familiar with one or more programming languages, so we just need to know about it.
To sum up.
There are many PHP operators,
1 definitions
An operator is something that can produce another value (and thus the entire structure as an expression) by giving one or more of the values (in programming jargon, expressions).
Operators can be grouped by their ability to accept
How to learn about operator priority in php
Operator name result
$ A + $ B addition $ a and $ B's and
$ A-$ B subtraction $ a and $ B
$ A * $ B multiplication $ the product of a and $ B
$ A/$ B Division $ a divided by the operator of $ B
$ A % $ B
Directory arithmetic operator assignment operator comparison operator ternary operator logical operator string operator error control operator increment decrement operator array operator definitionthe operator is the identification symbol for the
How to learn about operator priority in php
Operator name result
$ A + $ B addition $ a and $ B's and
$ A-$ B subtraction $ a and $ B
$ A * $ B multiplication $ the product of a and $ B
$ A/$ B Division $ a divided by the operator of $ B
$ A % $ B
I. Operator 1. Arithmetic Operator-$ a is used to take the negative value of $. $ A $ B adds the sum of $ a and $ B. $
I. Operator 1. Arithmetic Operator-$ a is used to take the negative value of $. $ A $ B adds the sum of $ a and $ B. The
The operator module contains various built-in operators of Python, such as logic, comparison, and calculation. here we will summarize the examples of using operators of the operator module in Python for some common operators: the operator module is
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.