Numeric operator


The operands for a numeric operator might require data conversion before the operation is performed. With few exceptions, the two operands must be in a common format. The following table shows the data-type that will be selected when a numeric operator is used with the various possible combinations of operand types. One (or both) operands will be converted into the selected data-type before performing the operation.

Target data-type for operations with mixed operands (used with comparison operator or numeric operator)

Operand2 /Operand1

C

F

P

X

Z

C

C (for comparison operator)

none (for numeric operator)

none 1

none 1

none 1

none 1

F

none

F

P

F

P

P

none

P

P

P

P

X

none

F

P

X

P

Z

none

P

P

P

P

  1. Invalid combination of operands.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

Fast Path/EP products reference information 4.0