6 fraction, 7 integer, Fraction (frac) – Metrohm tiamo 2.4 Manual User Manual

Page 89: Integer

Advertising
background image

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

2 General program functions

tiamo 2.4

■■■■■■■■

73

Abs('CV.AverageTemp') = Value of the common variables CV.Avera-
geTemp
without signs

2.4.4.5.6

Fraction

Dialog window: Formula editor

Operators/Functions

Syntax
y = Frac(number)

Gives the fraction of the entered number.

NOTE

In the results properties, the number Decimal places of the result
must always be given, as otherwise the fraction cannot be displayed.

Parameters
Number

The parameter can be indicated either directly as a number or as a variable
of the type Number. If the parameter does not correspond to the
expected type, it will automatically be converted to this. If this is not possi-
ble, the result of this operation is given as invalid.

Examples
Frac(-55.325) =0.325

Frac('CV.AverageTemp') = Value of the common variable CV.Avera-
geTemp
without sign

2.4.4.5.7

Integer

Dialog window: Formula editor

Operators/Functions

Syntax
y = Int(number)

Gives the integer of the entered number.

Parameters
Number

The parameter can be indicated either directly as a number or as a variable
of the type Number. If the parameter does not correspond to the
expected type, it will automatically be converted to this. If this is not possi-
ble, the result of this operation is given as invalid.

Examples
Int(-55.325) = -55

Advertising