Reference > Creating Formulas and Expressions > Inserting Functions and Operators > Functions Available in Expression Editor > Logical Functions > SignI
SignI(Input: Variant)
Input. Variable.
It returns the sign of specified variable point if it contains integer values only. It can return the following values:
1. Positive number.
0. Number is equal to zero.
-1. Negative number.
To get character of variable points containing not only integer values, use the Sign function.
Formula | Result | Application |
= SignI({Brazil|BCA}) | The signs of Brazil|BCA factor observations are calculated. If the time series contains real values, an error appears. | 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. |
= SignI(X1) | The signs of X1 factor points are calculated. | It can be used in model formulas of modeling container. |
See also:
Functions Available in Expression Editor │ Logical Functions │ IModelling.SignI