Basics: Data Types: Integer
An integer is a whole number — that is, a number with no fractional or decimal portion, for example 42
, 3005
Operators
Smart Tag supports the following operators for fields and values that are of Integer type.
- is equal to
- is not equal to
- is greater than
- is greater than or equal
- is lesser than
- is lesser than or equal
- is within
- is not within
is equal to
Returns true
if field value is equal to the input value.
Examples
Field | Field Value(s) | Operator | Value(s) | Result | ||
Orders Count |
42 |
is equal to | 42 |
true |
||
100 |
false |
|||||
100 |
is equal to | 42 |
false |
|||
100 |
true |
is not equal to
Evaluates to true
if field value is not equal to to the input value.
Examples
Field | Field Value(s) | Operator | Value(s) | Result | ||
Orders Count |
42 |
is not equal to | 42 |
false |
||
100 |
true |
|||||
100 |
is not equal to | 42 |
true |
|||
100 |
false |
is greater than
Evaluates to true
if field value is greater than to the input value.
Examples
Field | Field Value(s) | Operator | Value(s) | Result | ||
Orders Count |
42 |
is greater than | 42 |
false |
||
100 |
false |
|||||
100 |
is greater than | 42 |
true |
|||
100 |
false |
is greater than or equal
Evaluates to true
if field value is greater than or equal to the input value.
Examples
Field | Field Value(s) | Operator | Value(s) | Result | ||
Orders Count |
42 |
is greater than or equal | 42 |
true |
||
100 |
false |
|||||
100 |
is greater than or equal | 42 |
true |
|||
100 |
true |
is lesser than
Evaluates to true
if field value is lesser than to the input value.
Examples
Field | Field Value(s) | Operator | Value(s) | Result | ||
Orders Count |
42 |
is lesser than | 42 |
false |
||
100 |
true |
|||||
100 |
is lesser than | 42 |
false |
|||
100 |
false |
is lesser than or equal
Evaluates to true
if field value is lesser than or equal to the input value.
Examples
Field | Field Value(s) | Operator | Value(s) | Result | ||
Orders Count |
42 |
is lesser than or equal | 42 |
true |
||
100 |
true |
|||||
100 |
is lesser than or equal | 42 |
false |
|||
100 |
true |
is within
Evaluates to true
if field value is within to the input value.
Examples
Field | Field Value(s) | Operator | Value(s) | Result | ||
Orders Count |
42 |
is within | range > | [0 - 42] |
true |
|
[42 - 42] |
true |
|||||
[42 - 100] |
true |
|||||
[0 - 100] |
true |
|||||
[100 - 100] |
false |
|||||
100 |
is within | range > | [0 - 42] |
false |
||
[42 - 42] |
false |
|||||
[42 - 100] |
true |
|||||
[0 - 100] |
true |
|||||
[100 - 100] |
true |
is not within
Evaluates to true
if field value is not within to the input value.
Examples
Field | Field Value(s) | Operator | Value(s) | Result | ||
Orders Count |
42 |
is not within | range > | [0 - 42] |
false |
|
[42 - 42] |
false |
|||||
[42 - 100] |
false |
|||||
[0 - 100] |
false |
|||||
[100 - 100] |
true |
|||||
100 |
is not within | range > | [0 - 42] |
true |
||
[42 - 42] |
true |
|||||
[42 - 100] |
false |
|||||
[0 - 100] |
false |
|||||
[100 - 100] |
false |