# If Greater Than

{% hint style="info" %}
**if\_gt**
{% endhint %}

This is a very simple and powerful function. It means that you can show content only if a value from the back office is greater than a number.&#x20;

For example the following means that the **content** about a next payment only shows if the next payment is greater than zero:

\{{**if\_gt** NextPayment.Amount '0' \}}&#x20;

**Your Next Payment**

**Is for:**&#x20;

**${NextPayment.Amount}**

**It is due on: ${NextPayment.Date}**

&#x20;\{{**/if\_gt}**}&#x20;

This could be used to show a specific warning if something was too high e.g.&#x20;

\{{**if\_gt** RentArrears.Amount ‘1000.00' \}}&#x20;

**You need to make a payment as your Rent Arrears are now greater than £1000.00!**

&#x20;\{{**/if\_gt}**}&#x20;
