Basics: Data Types: Float

A float is a floating-point number that has fractional parts expressed with a decimal point, for example 3.14. Useful to represent prices and weight.


Operators

Smart Tag supports the following operators for fields and values that are of Float type.


is equal to

Returns true if field value is equal to the input value.

Examples
Field Field Value(s) Operator   Value(s) Result
Total Spent 4.2 is equal to 4.2 true
10.1 false
10.1 is equal to 4.2 false
10.1 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
Total Spent 4.2 is not equal to 4.2 false
10.1 true
10.1 is not equal to 4.2 true
10.1 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
Total Spent 4.2 is greater than 4.2 false
10.1 false
10.1 is greater than 4.2 true
10.1 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
Total Spent 4.2 is greater than or equal 4.2 true
10.1 false
10.1 is greater than or equal 4.2 true
10.1 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
Total Spent 4.2 is lesser than 4.2 false
10.1 true
10.1 is lesser than 4.2 false
10.1 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
Total Spent 4.2 is lesser than or equal 4.2 true
10.1 true
10.1 is lesser than or equal 4.2 false
10.1 true

is within

Evaluates to true if field value is within to the input value.

Examples
Field Field Value(s) Operator   Value(s) Result
Total Spent 4.2 is within range > [0 - 4.2] true
[4.2 - 4.2] true
[4.2 - 10.1] true
[0 - 10.1] true
[10.1 - 10.1] false
10.1 is within range > [0 - 4.2] false
[4.2 - 4.2] false
[4.2 - 10.1] true
[0 - 10.1] true
[10.1 - 10.1] 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
Total Spent 4.2 is not within range > [0 - 4.2] false
[4.2 - 4.2] false
[4.2 - 10.1] false
[0 - 10.1] false
[10.1 - 10.1] true
10.1 is not within range > [0 - 4.2] true
[4.2 - 4.2] true
[4.2 - 10.1] false
[0 - 10.1] false
[10.1 - 10.1] false