Reprinted: http://www.cnblogs.com/chengmo/archive/2010/10/11/1847515.html
As one of the excellent tools for text processing, awk has its own rich operators. The following is a summary of all operators. Can be divided into: Arithmetic Operators,
PHP reading notes (4)-Operators, PHP reading notes operators
What is an operator
What is an operator? The operator is an identifying symbol that tells PHP to do the related operations. For example, you need to calculate how much 123 times 456
I wanted to update my blog every Monday, but I didn't expect that I was too busy in the last few weeks to sit down and write something.
This article is also written in a hurry. I hope you can point out the omissions.
As for the reference in this
xTable of Contents [1] unary plus [2] unary minus [3] increment [4] decrement [5] addition [6] subtraction [7] multiplication [8] division [9] seeking the remainder of the wordsArithmetic operations in JavaScript are primarily implemented by
Order of precedence between 4.1.6 operatorsIn the expression of some more complex conditional judgments, in the same expression, sometimes there may be multiple operators. For example, we judge whether to buy a watermelon, not only to determine its
Copy CodeThe code is as follows:
/* OP symbol (PHP) Action symbol
*
* According to the function of the operation symbol is divided into:
* One, arithmetic operator +-*/% + +--
* Two, string operators. Join operators
* Third, assignment operator = +
JavaScript functionsA function is an event-driven or reusable block of code that executes when it is invoked.InstanceDOCTYPE HTML>HTML>Head> Script>functionmyFunction () {alert ("Hello world!"); }Script>Head>Body> Buttononclick= "myFunction ()"
The operators we use in PHP include arithmetic operators, assignment operators, comparison operators, logical operators, and so on. Let me introduce you to your friends.
Arithmetic operators
The division operator always returns a floating-point
PHP operators 1. Arithmetic Operators
The PHP arithmetic operators have + (plus),-(minus), * (multiply),/(except),% (remainder).
PHP operator 2. Assignment operators
The PHP assignment operator has + = (assigns the left-hand value to the left),-=
Summary of commonly used operators in JavaScript. For more information, see.
I. unary Operators1. delete OPERATOR: delete references to previously defined object attributes or methods. For example:
Var o = new Object;
O. name = "superman ";
Alert (o.
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.