+ Operator

Language Items List

Definition:

An arithmetic operator used to add two numbers.

Syntax:

result = expr1 + expr2


Syntax Description


expr1, expr2 Any numeric expression

Details:

For simple addition that includes only expressions of the numeric data type, the data type of result is normally the same data type as the most precise expression. The order of precision that Phoenix follows, starting from the least precise, is Integer, Long, Single, Double, Currency.


Note: The + Operator cannot be used for concatenation.

See Also:

Arithmetic Operators
Comparison Operators
Operator Precedence