{% if is_modified %}
    Total: <strong>{{ userTotal }} ha</strong>
    {% if (userTotal) != (autoTotal) %}
    <small>
        (<span class="error">{{ (userTotal - autoTotal) | abs | round(3) }}
            {{ 'less' if userTotal < autoTotal else 'more' }} than
        </span>
        required {{ autoTotal }})
    </small>
    {% endif %}
{% else %}
    Total: {{ autoTotal }} ha
{% endif %}

{% if is_modified %}
    Total: <strong>{{ userTotal | toLocaleString(3) }} ha</strong>
    {% if (userTotal) != (autoTotal) %}
    <small>
        (<span class="error">{{ (userTotal - autoTotal) | abs | toLocaleString(3) }}
            {{ 'less' if userTotal < autoTotal else 'more' }} than
        </span>
        required {{ autoTotal | toLocaleString(3) }})
    </small>
    {% endif %}
{% else %}
    Total: {{ autoTotal | toLocaleString(3) }} ha
{% endif %}

Format area total with thousands separators
Format area total with thousands separators

Since many of these numbers tend to be pretty large, it helps
to have some thousands separators to make reading them easier.
