An arithmetic expression is a variable term that can be a simple or compound arithmetic operation. An arithmetic expression can be used as a variable wherever the command syntax specifies arithmetic-expression.
The elements allowed in an arithmetic expression are summarized in the table below. Arithmetic expressions are composed of operands, binary operations, and unary operations. The elements of each entity are listed below.
Arithmetic Expression Elements
|
Operands |
Binary operators |
Unary operators |
|---|---|---|
|
Variable data fields |
Addition [+] |
Plus [+] |
|
Numeric constants |
Subtraction [-] |
Minus [-] |
|
Built-in functions |
Multiplication [*] |
|
|
|
Division [/] |
|
Considerations
|
Copyright © 2014 CA.
All rights reserved.
|
|