Mod_

Syntax

Mod_(Input: Variant, Divisor: Variant)

Parameters

Input. Variable

Divisor. Divisor.

Description

It returns the remainder of integer division of points values to the specified number.

Comments

The result has the same sign as the dividend.

NOTE. If integer values are divided, the result will also be integer.

The Mod_ and Modulus functions duplicate each other.

Example

Formula Result Application
= Mod_({Brazil|BCA},{China|BCA})

The remainder from integer division of the Brazil|BCA factor is calculated to the corresponding China|BCA factor observations.

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.
= Mod_(X1,3)

The remainder from integer division of X1 factor points to three is calculated.

It can be used in model formulas of modeling container.
= Mod_(15,4)

3

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.Mod_