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

        @return: A string in the format of "1,000" or "n/a" if no result.
        """
        if not self.result is None and 'value' in self.result:
            return self.template('{{ result.value|floatformat:0 }}')
        
        return _('n/a')
dataset/ETHPy150Open PublicMapping/DistrictBuilder/django/publicmapping/redistricting/calculators.py/Equivalence.html/original