def html(self):
        """
        Generate an HTML representation of the summation score. This
        is represented as a decimal formatted with commas or "n/a".

        @return: The result wrapped in an HTML SPAN element: "<span>1</span>".
        """
        if not self.result is None and 'value' in self.result:
            return self.template(
                '<span>{{ result.value|floatformat:0 }}</span>')
        return self.empty_html_result
dataset/ETHPy150Open PublicMapping/DistrictBuilder/django/publicmapping/redistricting/calculators.py/SumValues.html/original