beautypg.com

Fraction, Integer – Metrohm tiamo 1.1 Manual User Manual

Page 75

background image

Formula editor

47

The parameter can either be entered directly as a number or as a Variable
of type

Number

. If the parameter does not correspond to the selected type

then it will be automatically converted to it (see Type conversion "TextTo-
Number"). If this is not possible then "

invalid

" will be returned as the result of

this operation.

Examples

Abs(-55.3) = 55.3

Abs('CV.MeanTemp')

= value of the Common variable without sign

Fraction

Syntax

y = Frac(number)

Returns the fractional part of the entered number.

Note
In the Result properties under Definition it is essential that the number of

Decimal

places

of the result is entered, as otherwise the decimal fraction cannot be

shown.

Parameter

Number

The parameter can either be entered directly as a number or as a Variable

of the type

Number

. If the parameter does not correspond to the selected

type then it will be automatically converted to it (see Type conversion
"TextToNumber"). If this is not possible then "

invalid

" will be returned as the

result of this operation.

Examples

Frac(-55.325) =0.325

Frac('CV.MeanTemp')

= value of the Common variable without sign

Integer

Syntax

y = Int(Number)

Returns the integer of the entered number.

Parameter

Number

The parameter can either be entered directly as a number or as a Variable
of the type

Number

. If the parameter does not correspond to the selected

type then it will be automatically converted to it (see Type conversion
"TextToNumber"). If this is not possible then "

invalid

" will be returned as the

result of this operation.

Examples

Int(-55.325) = -55

Int('CV.MeanTemp')

= integer part of the value of the Common variable