3 greater than or equal to, Greater than or equal to – Metrohm tiamo 2.3 Patch 1 (process analysis) User Manual

Page 84

Advertising
background image

2.4 Formula editor

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

68

■■■■■■■■

tiamo 2.3 Patch 1 (for Process Analysis)

Oper-
and1

Oper-
and2

Result

Example

Remark

Number

Text

Number

1.2 > "Metrohm" --> 01.23 >
"1.2" --> 1

Before the relational operation, the Num-
ber
is converted to Text, afterwards the
texts are compared according to ASCII
value
(see Chapter 2.4.4.10, page 90).

Text

Number

Number

"Metrohm" > 1.2 --> 1

The same rules apply here as for the previ-
ous operation.

Number

Time

Number

2.0 > Time(1999;10;07) --> 0

Before the comparison, the operand is
converted from the type Date/Time to a
Number.

Time

Number

Number

Time(1999;10;07) > 2.0 --> 1

The same rules apply here as for the previ-
ous operation.

Text

Time

Number

"Metrohm" >
Time(1999;10;07) --> 1

Before the operation, the operand is con-
verted from the type Date/Time to Text
(here thus: "1999-10-07 00:00:00 UTC
+2"
), afterwards the texts are compared
according to ASCII value (see Chapter
2.4.4.10, page 90)
.

Time

Text

Number

Time(1999;10;7) >
"Metrohm" --> 0

The same rules apply here as for the previ-
ous operation.

2.4.4.4.3

Greater than or equal to

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. The result type is always a num-
ber (1 = true, 0 = false).

Examples

Oper-
and1

Oper-
and2

Result

Example

Remark

Operands of the same type:

Number

Number

Number

5 >= 4 --> 1

4 >= 5 --> 0

-

Text

Text

Number

"Metrohm" >= "AG" --> 1

When making a comparison between two
texts the ASCII value of the character
sequence is compared (see Chapter
2.4.4.10, page 90)
.
Attention: Upper-
case and lowercase letters have different
values!

Advertising