If less than or equal to
Conditionally merges different content depending on whether a number is at or below the one you give. Use it when sitting exactly on the number should count as still inside the band.
Syntax
{{#ifLte data value}}true content{{else}}false content{{/ifLte}}
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Data | Number | Required | The value to evaluate. |
| Value | Number | Required | The value it must be at or below. |
Note: The threshold itself counts, so a value of exactly 100 merges the true content. Use If less than when it should not.
Note: Both values must read as numbers. If the field holds text that cannot be read as one, the false content merges.
Examples
The examples below are based on the following sample content:
{{#ifLte Contact.points 100}}Keep up the good work!{{/ifLte}}
A. The contact's points field has the value 99
Keep up the good work!
B. The contact's points field has the value 100
Keep up the good work!
C. The contact's points field has the value 109
Nothing is merged.