beautypg.com

Multiplication – Metrohm tiamo 1.1 Manual User Manual

Page 62

background image

34

General program functions

Multiplication

Syntax

Operand1 * Operand2

The operands can either be entered directly or as a Variable and can be
of the type

Text

,

Number

or

Date/Time

.

Examples

Operand1 Operand2 Result

Example

Remarks

Operands of the same type:
Number Number Number

1.2 * 3 = 3.6

-

Text Text Text

"Metrohm" * "AG" = invalid

This operation is not permitted.

Time Time Number

Time(1998;05;06) *
Time(1902;02;03) =
27'478'004.545

(for UTC+1 or

+2 for Summer time)

Time()

: see function

Time(Date)
Result: number of days calcu-
lated since December 1899,
dependent on the system time

Operands of different types: the operand that does not correspond to the type of result is converted
to the particular result type before the operation.
Number Text

Text

2 * "Metrohm" = "Metrohm-
Metrohm"

-

Text Number

Text

"Metrohm" * 2 = "Metrohm-
Metrohm"

-

Number Time

Number

2.0 * Time(1999;10;7) =
72'879.833

(for UTC+2)

Result: number of days calcu-

lated since December 1899,
dependent on the system time

Time Number

Number

Time(1999;10;7) * 2.0 =
72'879.833

(for UTC+2)

Result: number of days calcu-
lated since December 1899,
dependent on the system time

Text Time Text

"Metrohm" * Time(1999;10;7) =
invalid

This operation is not permitted.

Time Text Text

Time(1999;10;7) * "Metrohm" =
invalid

This operation is not permitted.