An arithmetic operator is a mathematical function that takes two operands and performs a calculation on them. They are used in common arithmetic and most computer languages contain a set of such operators that can be used within equations to perform a number of types of sequential calculation.
Basic arithmetic operators include:
Addition (+), subtraction (-), multiplication (x) and division (÷)
Computers use different symbols in programming to represent some of these:
Addition (+), subtraction (-), multiplication (*) and division (/)
More complex operators such as square root (Öx) also act as arithmetic operators but the basic plus, minus, multiply and divide are the fundametal operators.
Arithmetic operators have been used in mathematics formulas and numeric calculations for centuries. They form the basis for determining the outcome of calculated numbers or products. Their use is linear; each operator is actioned in sequence with addition and subtraction taking precendence over multiplication and addition.
Arithmetic operators such as the % have different meanings when used in computing and are dependent on the language in question.
Arithmetic operators are responsible for performing most calculations that use values such as:
Although labeled arithmetic operators, these operators are used in algebra and a number of other mathematical concepts but retain the same function wherever they are used.