Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 12 Arithmetic Processing : Overview

Overview
What are the Arithmetic Operators?
The arithmetic operators and their symbols are:
Permitted Syntaxes for Arithmetic Operations
You can perform arithmetic operations with any of the syntax types, provided the semantic data type permits it. Refer to Permissible Operations for further information. Arithmetic operations are performed on the following syntax types:
Formatting Numeric Results
You can format the numeric result with a display mask using the $PIC tool.
Conversion of Strings
Data is converted to a numeric data type before the arithmetic operation when the syntax is one of the following:
Arithmetic involving an RD field is allowed only if the fields semantic data type is typeless and if the other field in the operation is not also an RD field.
Arithmetic involving an RD field that contains non-numeric data uses the numeric value of that data; for example, an operation with an RD field that is equal to “A” (R'C1') in combination with a field of syntax B would use the decimal value ‑63.
See Also
TIBCO Object Service Broker Shareable Tools about the $PIC tool.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved