Testing for Numeric Values

The following conditionals are supported to test whether a number value is less than, equal to or greater than a constant number:

Numeric Value Conditional Usage Example

==

(equal to)

<t:if test="property_name == 12">
The value is twelve.
</t:if>

>

(greater than)

<t:if test="property_name > 6">
The value is greater than six.
</t:if>

<

(less than)

<t:if test="property_name < 100">
The value is less than one hundred.
</t:if>