5 absolute value, 6 fraction, Absolute value – Metrohm tiBase 1.1 User Manual

Page 58: Fraction (frac)

Advertising
background image

2.4 Formula editor

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

50

■■■■■■■■

tiBase 1.1

2.4.4.5.5

Absolute value

Dialog window: Formula editor

Operators/Functions

Syntax
y = Abs(number)

Gives the absolute value of the entered number, i.e. the value of the num-
ber irrespective of its sign.

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 expec-
ted type, it will automatically be converted to this. If this is not possible,
the result of this operation is given as invalid.

Examples
Abs(-55.3) = 55.3

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 expec-
ted type, it will automatically be converted to this. If this is not possible,
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

Advertising