Int

Syntax

Int(Input: Variant)

Parameters

Input. Variable.

Description

It rounds point values of specified variable to the nearest least integer.

Comments

Tolerance range for input variable [MinInteger; MaxInteger]. MinInteger = -231, MaxInteger = 231 - 1.

If input parameter goes beyond the left border of available values, the method returns MinInteger.

If input parameter goes beyond the right border of available values, the method returns MaxInteger.

Example

Formula Result Application
= Int({Brazil|BCA})

Brazil|BCA factor observations are rounded down to the nearest integer.

It can be used in formulas of calculated series of time series database and model formulas of modeling container that is a child of the time series database.
= Int(X1)

The X1 factor points are rounded down to the nearest integer.

It can be used in model formulas of modeling container.
= Int(4.6)

4

It can be used in formulas of calculated series of time series database and modeling container models.

See also:

Functions Available in Expression Editor │ Arithmetic FunctionsIModelling.Int