2 arithmetical operators, 1 addition, Addition – Metrohm tiamo 2.3 Patch 1 User Manual

Page 75: Addition (+)

Advertising
background image

■■■■■■■■■■■■■■■■■■■■■■

2 General program functions

tiamo 2.3 Patch 1

■■■■■■■■

59

Operators

Functions

Miscellaneous:

Error

Case

Priority rules of the operators
The operators are evaluated in the order in which they are listed in the
table below. In order to attain the required order, it may be necessary to
place operators in parentheses.

Operators

Arithmetic

^

*, /

+, -

Comparison

<, <=, >, >=

Logic

AND, OR

2.4.4.2

Arithmetical operators

2.4.4.2.1

Addition

Dialog window: Formula editor

Operators/Functions

Syntax
Operand1 + Operand2

The operands can be entered either directly or as a variable and can be of
the type Text, Number or Date/Time.

Examples

Operand1

Operand2

Result

Example

Remark

both operands of the same type:

Number

Number

Number

1.2 + 3 = 4.2

-

Text

Text

Text

"Metrohm" + "AG" =
"Metrohm AG"

If the maximum permissible length
(65 536 characters) of the charac-
ter string is exceeded by addition
of the operands, the surplus char-
acters will be removed from the
second operand.

Time

Time

Number

Time(1998;04;06) +
Time(1964;02;03) = 59300.875
(for
UTC+1)

Result: Number of days calculated
from December 1899, dependent
on the system time

Operand of different type: The operand which does not correspond to the result type is converted to the relevant
result type before the operation.

Advertising