{% if metric.latest_value >= 50 %} {{ metric.latest_value|floatformat:0 }}% {% endif %}
{% if metric.latest_value < 50 %}  {{ metric.latest_value|floatformat:0 }}% {% endif %}