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

Page 57: Fraction

Advertising
background image

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

2 General program functions

tiBase 1.0

■■■■■■■■

49

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 number
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 expected
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.Average-
Temp
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 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.Average-
Temp
without sign

Advertising