Parameters
The unary minus operator. It reverses the sign of the operand that follows it.
For a list of arithmetic built-in functions, see Built-in Functions.
A user-defined variable data field.
The named variable must contain a number and can be any of the following:
A number.
See "System-supplied data field names" in Variable Data Fields
An arithmetic expression. Use parentheses to control the order in which operations are to be performed.
The arithmetic operators:
|
Operator |
What it does |
|---|---|
|
+ |
Addition |
|
– |
Subtraction |
|
* |
Multiplication |
|
/ |
Division |
┌─ + ─┐ ├─ - ─┤ ├─ * ─┤ ┌────────────────────┴─ / ─┴───────────────────────┐ ►►───▼──┬─────┬───┬─ arithmetic-function ─────────────┬─┴─────────────────────►◄ └─ - ─┘ ├─ variable-name ───────────────────┤ ├─ numeric-constant ────────────────┤ ├─ system-supplied-data-field-name ─┤ └─ arithmetic-expression ───────────┘
|
Copyright © 2014 CA.
All rights reserved.
|
|